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;
|
---|
In Section
Cool Uses for Perl