Blog Details

  • Home
  • PHP
  • Debugging PHP – Parse error: syntax error, unexpected $end
ptitle-particle1

Debugging PHP – Parse error: syntax error, unexpected $end

If you have are using the short form <?  for PHP instead of the long form <?php you might be faced with this parse error when running your script on different systems:

Update all references to the long version <?php

Ensure that all linked files also have been updated!! A pain to troubleshoot.

Cart

No products in the basket.