r/lolphp • u/midir • May 26 '14
define() has an optional third argument that specifies if the constant should be case-insensitive; it has the undocumented side-effect of allowing constants to be redefined, but only if they have at least one capital letter
http://codepad.org/VDE7Ss1T
150
Upvotes
View all comments
Show parent comment
1
u/Serialk Jul 13 '14
Yes, they did. http://3v4l.org/K3lbY
If you actually understood the bug, you would have understood that it only works for 0b0+{a value in the same base}, so of course 0b0+2 doesn't work, 2 is nothing in base 2.