Skip to content
A simple class/object exercise for DMD 4470
PHP
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
output.php

README.md

Missing Class

One of your colleagues just committed this super-important file named output.php before heading off for vacation. But it looks like they forgot to include the required class, class.element.php. It's almost time to release this masterpiece, so you're going to have to write a new one from scratch.

Use the contents of output.php to reverse engineer the missing class, it's attributes and methods. You'll need one of our favorite magic methods, __toString().

When complete, output.php should render the following paragraph in your browser:

Interested in Yahoo? Click here!

You can’t perform that action at this time.