#40910 [NEW]: var_dump() abbreviates array output
| From: | meyermagic at gmail dot com | Date: | Sat, 24 Mar 2007 18:15:55 +0000 |
| Subject: | #40910 [NEW]: var_dump() abbreviates array output | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-110754@lists.php.net to get a copy of this message | ||
From: meyermagic at gmail dot com
Operating system: MS Windows XP Pro, SP2, 5.1.2600
PHP version: 5CVS-2007-03-24 (snap)
PHP Bug Type: Arrays related
Bug description: var_dump() abbreviates array output
Description:
------------
Configure Command cscript /nologo configure.js "--enable-snapshot-build"
"--with-gd=shared"
error_reporting = E_ALL|E_STRICT
log_errors = On
register_long_arrays = Off
register_argc_argv = Off
magic_quotes_gpc = Off
extension_dir = "C:\PHP\ext"
extension=php_imagick.dll
extension=php_xdebug.dll
date.timezone =America/Los_Angeles
var_dump seems to cut off array output on the fourth internal array.
Reproduce code:
---------------
<?php
var_dump(array(array(array(array(array(1))))));
?>
Expected result:
----------------
array
0 =>
array
0 =>
array
0 =>
array
0 =>
array
0 => int 1
Actual result:
--------------
array
0 =>
array
0 =>
array
0 =>
array
...
--
Edit bug report at http://bugs.php.net/?id=40910&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40910&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40910&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40910&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=40910&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=40910&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=40910&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=40910&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=40910&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=40910&r=support
Expected behavior: http://bugs.php.net/fix.php?id=40910&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=40910&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=40910&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=40910&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40910&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=40910&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=40910&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=40910&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=40910&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=40910&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=40910&r=mysqlcfg