[Bug 386830] [NEW] Reserved words are case-insensitive.
jesdisciple at gmail.com
Sat Jun 13 23:14:22 BST 2009
Public bug reported:
Binary package hint: php5
At the least, this is a documentation bug; I consider the behavior
undesirable, so it's also a feature request. I was told to report bugs
to Ubuntu rather than PHP; if this is incorrect, I'll take it upstream
I learned the below function name in other languages where it's allowed,
although I'm not certain whether this is because keywords are case-
sensitive or because foreach isn't a keyword there.
I expect this to be valid, but PHP says otherwise:
Parse error: syntax error, unexpected T_FOREACH, expecting T_STRING
The manual doesn't mention this that I can find (
** Affects: php5 (Ubuntu)
Reserved words are case-insensitive.
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.
More information about the Ubuntu-server-bugs