Thursday, August 7. 2008Case-insensitive Array access in PHPTrackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
The main problem with SPL’s ArrayAccess is that it doesn’t allow for the empty key append syntax. $a[] = "foo"; simply will not work. Other than that, I can’t think of a better way to implement this, but it’s kinda silly. Case-sensitivity is a /good/ thing. As we’ve discussed off-line, as of 5.2 you can use the refinement I posted in the next post. |
Calendar
QuicksearchCategoriesBlog AdministrationPowered byTheme dropdown |