|
|
|
|
|
by jorams
2325 days ago
|
|
Documented insanity is still insanity. A very clear example that was luckily removed quite quickly: php_check_syntax.[1] > Check the PHP syntax of (and execute) the specified file This function's name and its documentation suggest completely different use-cases. In fact, it apparently does the one thing I wouldn't expect it to do based on the name. It's insane, and it cannot be excused just because the insanity is documented. The example given by GP is a lot more subtle, but this is not a good argument to make. [1]: https://www.php.net/manual/en/function.php-check-syntax.php |
|