What change from PHP version 5.2.3 to 5.3.27 would make same code give syntax error? I have a PHP code which while it's fine on 5.2.3 it doesn't work on 5.3.27 and give the following error in the last line of code:
( ! ) Parse error: syntax error, unexpected $end in index.php on line 832
It doesn't make any sense to me but I don't do PHP coding a lot of time. My question is if there's some syntax change or something like this which would make the syntax error. Also, I'm using different servers Appserver and Vertrigo, if it's relevant.
EDIT:
In fact, the parser says that the error is on line 832 where the last line is 831. There's no extra }
because if so it willn't run on the old version.
EDIT2:
Here's the last lines of code from actual program(it just doesn't work on recent PHP version):
<? } ?>
<?php
mysql_close($link);
?>