Assuming that $first_name and $family_name are valid strings, which statement is invalid?

✅  The correct answer is:

print $first_name, ‘ ‘, $familiy_name;

Question:

Assuming that $first_name and $family_name are valid strings, which statement is invalid?

Solution:

  • echo $first_name. ‘ ‘. $familiy_name;
  • print $first_name, ‘ ‘, $familiy_name;
  • print $first_name. ‘ ‘. $familiy_name;
  • echo $first_name, ‘ ‘, $familiy_name;