PHP version check at start of file doesn't work
jrfnl opened this issue · 0 comments
jrfnl commented
... as the parallel-lint
file in which it is contained contains PHP 5.3 syntax (namespace separators), which means that the code will never run as PHP will exit on a parse error before that time:
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in path/to/PHP-Parallel-Lint/parallel-lint on line 84
Parse error: syntax error, unexpected T_STRING in path/to/PHP-Parallel-Lint/parallel-lint on line 84