• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Print_r (get_defined_vars()) gives a HUGE list... isn't that a problem?

#1
[eluser]See64[/eluser]
While debugging I used print_r(get_defined_vars()); to see if I had all my variables in order. Unfortunately this produced a HUGE list, even triggering a "PHP Fatal error: Allowed memory size" on the first try.

Why is this so huge? Isn't this bad for performance? (EditSmile Or is it because it says *RECURSION*?

I have a clean install of CodeIgniter running, with only FreakAuth and some very basic "hello world"-ing from myself.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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