[Basic PHP] Treat function or method call as an array? |
[eluser]janogarcia[/eluser]
Just found this snippet at the PHP documentation (curiosly enough it was submitted a few weeks ago) http://www.php.net/manual/en/language.ty....php#95210 Quote:If you ever wondered if you can do something like: This could be an interesting addition to the array_helper.php (I'd modify the error handling routine to be more "CI friendly") if you find yourself using many unnecessary temporary variables. |
Messages In This Thread |
[Basic PHP] Treat function or method call as an array? - by El Forum - 01-08-2010, 09:23 AM
[Basic PHP] Treat function or method call as an array? - by El Forum - 01-08-2010, 09:30 AM
[Basic PHP] Treat function or method call as an array? - by El Forum - 01-08-2010, 09:38 AM
[Basic PHP] Treat function or method call as an array? - by El Forum - 01-08-2010, 09:45 AM
[Basic PHP] Treat function or method call as an array? - by El Forum - 01-09-2010, 03:28 AM
|