Bug #17874 Updated: var_export prints to screen
| From: | che at atlantic dot net | Date: | Thu, 20 Jun 2002 16:02:27 +0000 |
| Subject: | Bug #17874 Updated: var_export prints to screen | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-11575@lists.php.net to get a copy of this message | ||
ID: 17874
Updated by: che@atlantic.net
Reported By: che@atlantic.net
Status: Open
Bug Type: Output Control
Operating System: Windows 2000
-PHP Version: 4.2.1
+PHP Version: 4.2.0
New Comment:
This is because GLOBALS is recursively linked to itself and it is
causing var_export to die.
Previous Comments:
------------------------------------------------------------------------
[2002-06-20 11:47:02] che@atlantic.net
The code below outputs to the screen. (Even with output buffering)
ob_start();
$v = var_export($GLOBALS, TRUE);
ob_end_clean();
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17874&edit=1