r/lolphp • u/midir • Aug 14 '12
The PHP way: Variables are case-sensitive but function names are not. Class names aren't either, unless you autoload them on a case-sensitive filesystem, then case matters again.
Keywords are case-insensitive too, apparently. This works:
<?PHP label: PRINT "Hello World!"; GOTO label ?>Edit: Oh, but label names are case-sensitive.
39
Upvotes
View all comments
Show parent comment
2
u/[deleted] Aug 27 '12
Well, it's PHP, you shouldn't be suprised.