3 ms·
Having 100 lines of code is not something to be proud of, especially if the lines (3 examples picked arbitrarily) look like this: 1/ if (count(array_slice(
by pearjuice 12y ago
Having 100 lines of code is not something to be proud of, especially if the lines (3 examples picked arbitrarily) look like this:
1/ if (count(array_slice(array_reverse(glob("./article/*.txt")), $_GET['start'], 11)) > 10)
2/ error_reporting(0);
3/ if (trim(dirname(parse_url($_SERVER['PHP_SELF'], PHP_URL_PATH)), '/') === $requestedpage)
Though I really hate to blame the programmer, projects like these is what gives PHP a bad name; "Oh look another undocumented, untested, write-once piece of PHP not confirming to any standards whatsoever!"