go ahead... be a heretic | |
PerlMonks |
Re^2: print_rby mwah (Hermit) |
on Sep 25, 2007 at 11:49 UTC ( [id://640906]=note: print w/replies, xml ) | Need Help?? |
grinder: This will recurse endlessly until the heat death of the universe or you run out of swap, whichever comes first. Then again, perhaps the PHP implementation does as well. PHP's print_r (522) does indeed detect recursion after the first loop:
This will result in the following output:
Regards mwa
In Section
Cool Uses for Perl
|
|