3 ms·
Well, arguably, the syntax checker could detect "valid but dangerous" PHP statements. So, for instance, if there is a terminating </php> but no <php>, that coul
by d0m 16y ago
Well, arguably, the syntax checker could detect "valid but dangerous" PHP statements. So, for instance, if there is a terminating </php> but no <php>, that could be triggered as suspicious or dangerous. (I'm just saying this as a general example, but I know it might not be the best solution for different reasons).
Also, unit tests should definitely find that error.. no? I mean, a simple high level test that use something in config.php should fail.