Re: print_r's feature

From: Date: Thu, 25 Jul 2002 12:07:28 +0000
Subject: Re: print_r's feature
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-86186@lists.php.net to get a copy of this message
On Thu, 25 Jul 2002, Tit "Black" Petric wrote: > > Added in CVS, will be available in 4.3.0. > > > > Derick > > can you do the same thing for var_dump please? No I cant, as var_dump supports multiple parameters to it: var_dump ($foo, $bar, TRUE); What should TRUE do here in this case, print TRUE or return the data? You can use var_export here, which does only support one variable, and TRUE/FALSE to return or display the variable. Derick --------------------------------------------------------------------------- Did I help you? http://www.derickrethans.nl/link.php?url=giftlist Frequent ranting: http://www.derickrethans.nl/ --------------------------------------------------------------------------- PHP: Scripting the Web - derick@php.net All your branches are belong to me! SRM: Script Running Machine - www.vl-srm.net ---------------------------------------------------------------------------

« previous php.dev (#86186) next »