Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
missing-class/README.md
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
10 lines (5 sloc)
690 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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()](http://php.net/manual/en/language.oop5.magic.php#object.tostring). | |
When complete, `output.php` should render the following paragraph in your browser: | |
>Interested in Yahoo? [Click here!](http://yahoo.com/) |