Re: print_r and var_dump

From: Date: Wed, 16 Feb 2000 18:02:07 +0000
Subject: Re: print_r and var_dump
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-15604@lists.php.net to get a copy of this message
print_r() is designed for humans, var_dump() is designed to be reversible. Zeev On Wed, 16 Feb 2000, Leon Atkinson wrote: > Can someone explain the purpose of print_r? It seems to act like var_dump > if given an object or an array, but not for strings. > > > -- Zeev Suraski <zeev@zend.com> http://www.zend.com/

« previous php.dev (#15604) next »