[typo] PHP - Functions, Part 1 - 7. Arrays Function II



Exercise: https://www.codecademy.com/en/courses/web-beginner-en-7I7Xm/0/7

In the instructions for activity 7 of "Array Functions II" in the "Functions I" section, step three says:

  1. Then, print out join("," $the_array).

There should be a coma after the second quotation mark:

Then, print out join(",", $the_array).

This way the function is being passed the TWO arguments it needs: the separators that will separate the joined elements and the $array that will be joined. If that second comma is missing, PHP throws an error:

Parse error: syntax error, unexpected T_VARIABLE on line 8