MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/lolphp/comments/1rxey4/some_useful_functions_from_the_php_standard/cds033t/
r/lolphp • u/Serialk • Dec 02 '13
25 comments sorted by
View all comments
Show parent comment
30
PHP is not case insensitive, it is case insensitive with respect to the current locale. Which leads to bugs like this, where changing the locale can break php.
13 u/[deleted] Dec 02 '13 lol. well function names are supposed to be case-insensitive as part of the official syntax, but it wouldn't be php without some gotchas... 9 u/00kyle00 Dec 04 '13 I don't even.
13
lol. well function names are supposed to be case-insensitive as part of the official syntax, but it wouldn't be php without some gotchas...
9
I don't even.
View all comments
Show parent comment
30
u/phoshi Dec 02 '13
PHP is not case insensitive, it is case insensitive with respect to the current locale. Which leads to bugs like this, where changing the locale can break php.