PHP 4.0 Bug #5714: print_r() or/and var_dump() into a string

From: Date: Thu, 20 Jul 2000 22:24:18 +0000
Subject: PHP 4.0 Bug #5714: print_r() or/and var_dump() into a string
Groups: php.dev 
Request: Send a blank email to php-dev+get-25299@lists.php.net to get a copy of this message
From: Dante@altmuehlnet.de Operating system: Linux / Win98 / Win2000 PHP version: 4.0.0 PHP Bug Type: Feature/Change Request Bug description: print_r() or/and var_dump() into a string print_r() and var_dump() are very usefull for debugging! I have an extra class for errors, for logging and so on... I would be very usefull when print_r() and/or var_dump() could return a string containig the informaition, cause normally will be directly printed to screen, and I can't bring that into an log-file. I can read out the information by self (while...each($object)), but if print_r() and/or var_dump() directly could do this it would be more better. Bye & Thanks Dante

« previous php.dev (#25299) next »