#30471 [NEW]: var_export: Nesting level too deep - recursive dependency?
From: none at example dot com
Operating system: Linux
PHP version: 5.0.2
PHP Bug Type: PHP options/info functions
Bug description: var_export: Nesting level too deep - recursive dependency?
Description:
------------
doing var_export( $GLOBALS, true ) there is an error
like in older versions of php4:
Nesting level too deep - recursive dependency?
Of course it is easy to do a workaround, but maybe it
would be nice to fix it. Theres a lot of discussion
araound this bug in some communities for older php
versions. Maybe it is me being in error or maybe this is
just a feature and not a bug? In this case sorry for
disturbing...
Thanks a lot for all your work!
Reproduce code:
---------------
<?php
$outText = var_export( $GLOBALS, true );
?>
Expected result:
----------------
I would expect to get var_export in $outText
Actual result:
--------------
array ( 'GLOBALS' => array ( 'GLOBALS' => array (
'GLOBALS' => array (
Fatal error: Nesting level too deep - recursive
dependency?
--
Edit bug report at http://bugs.php.net/?id=30471&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30471&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30471&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30471&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=30471&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=30471&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=30471&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=30471&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=30471&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=30471&r=support
Expected behavior: http://bugs.php.net/fix.php?id=30471&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=30471&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=30471&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=30471&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30471&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=30471&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=30471&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=30471&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=30471&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=30471&r=mysqlcfg
Thread (9 messages)
- none at example dot com