php-general | 2001072
Date: 07/27/01
- Next message: CC Zona: "Re: [PHP] Newbie Help (CLASS WAR!)"
- Previous message: Jonas Delfs: "[PHP] Re: my php script is very slow. help?"
- In reply to: elias: "[PHP] $str = var_dump()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Elias" <elias_bachaalany <email protected>> skrev i en meddelelse
news:20010727091037.33731.qmail <email protected>
> Actually, var_dump() dumps directly the structure/content of a variable to
> the browser...
> Now is there is anyway to capture this output and assign it to a string
and
> then store it to a file?
Output Control?
ob_start();
var_dump($flaf);
$var = ob_get_contents();
ob_end_clean();
-- Mvh./Best Regards Jonas Delfs, http://delfs.dk"Developers are being asked to do more with less, do it faster, and make it fit with the existing systems and databases." - IDC
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: CC Zona: "Re: [PHP] Newbie Help (CLASS WAR!)"
- Previous message: Jonas Delfs: "[PHP] Re: my php script is very slow. help?"
- In reply to: elias: "[PHP] $str = var_dump()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

