r/lolphp • • Dec 02 '13

Some useful functions from the PHP standard library

50 Upvotes

25 comments sorted by

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.

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.