Hacker News new | ask | show | jobs
by noinput 4762 days ago
Don't forget strstr(). So nice, they named it twice.
2 comments

In PHP's defense, strstr() originally comes from C: https://developer.apple.com/library/mac/documentation/Darwin...
PHP's naming of functions is really horrible.

For example the random usage of underscores: strtoupper(...) substr_compare(...) str_split(...) str_word_count(...)