You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would second documenting it as unsupported in HPHP. If horrid had an ugly little sister, case-insensitive constants would call her a bitch for being so hot.
I expect your take on this is going to be the case. It'd be pretty trivial under HHVM, but a PITA under HPHPc. Regardless of the implementation details, it is horrid's ugly little sibling and as such probably only worth of documenting under "differences from PHP".
I'm going to leave this open for now though, as it's worth keeping on the table.
'define' allows you to make case-insensitive constants, but hphp does not support this (it ignores the parameter).
As far as I'm concerned it's a horrid PHP feature so would be tempted just to document it as a an accepted difference in behaviour.
The text was updated successfully, but these errors were encountered: