This forum is now read-only. Please use our new forums at

537 points
Submitted by
over 4 years ago

Bug in 7/7

I passed the course, but the screen on the right puts out an error:

"Parse error: syntax error, unexpected T_FOREACH, expecting ';' on line 18"

which is obviously something to do with the last bit of code that the exercise tells us not to worry about:

        foreach($languages as $lang) {
        print "<p>$lang</p>";

It is kind of annoying. Please fix it!

0 votes


It sounds like the parser is asking for the semicolon at the end of the unset line. I just passed this too with no errors.

329 points
Submitted by
over 4 years ago