Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: print_r

by f00li5h (Chaplain)
on Mar 30, 2009 at 03:28 UTC ( #754060=note: print w/ replies, xml ) Need Help??


in reply to print_r

Not that I'd ever use php, but if I had done it for, say, 6 or 7 years, I'd suggest that print_r is the least useful of php's dump-data-struct methods... and that var_export is far more useful...

... perl for var_export is Data::Dumper::Dumper

@_=qw; ask f00li5h to appear and remain for a moment of pretend better than a lifetime;;s;;@_[map hex,split'',B204316D8C2A4516DE];;y/05/os/&print;


Comment on Re: print_r
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://754060]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2014-08-21 05:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (127 votes), past polls