• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Basic PHP] Treat function or method call as an array?

#3
[eluser]janogarcia[/eluser]
Thank you noctrum for the fast reply.

(the snippet I posted is not actual production code, it was an illustrative example, I could have used the config_item() helper function of Common.php to the same effect: $array = config_item('some_array'); $index = config_item('some_index');...)


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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.