I think the error comes because he haven't ended one property earlier in the document, try write something like this on line 308:
Code:
$varbl_content = "something";
Don't know why he has written "$varbl_con tent = <<< HTM" there, the code look a bit messy so it is a bit hard to understand. You probably have to remove the backslashes as well.