I've developped a script under linux which works perfectly, the
php -l
command says there is no error and indeed it executes normally. But whenever I try to run it under WAMP I get a
Parse error: syntax error, unexpected $end
message pointing to the very end of the file! I search but I don't find any error, the PHP versions are the same in the two machines! Have you any idea on what can make a script run on a linux server and not on a windows one?