#32383 [NEW]: count() hits 4796 maximum count

From: Date: Sun, 20 Mar 2005 11:53:45 +0000
Subject: #32383 [NEW]: count() hits 4796 maximum count
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-75561@lists.php.net to get a copy of this message
From: mark dot booker at gmail dot com Operating system: Windows Server 2003 Ent. Edt. PHP version: 5.0.3 PHP Bug Type: Arrays related Bug description: count() hits 4796 maximum count Description: ------------ Using count() on an array that has more than 4796 elements, count returns 4796, other functions such as print_r() show all elements and the foreach() command also goes beyond the 4796 limit. Reproduce code: --------------- $i=single dimension array with 4830 elements print count($i); Expected result: ---------------- 4830 printed on screen Actual result: -------------- 4796 printed on screen -- Edit bug report at http://bugs.php.net/?id=32383&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32383&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32383&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32383&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=32383&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=32383&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=32383&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=32383&r=needscript Try newer version: http://bugs.php.net/fix.php?id=32383&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=32383&r=support Expected behavior: http://bugs.php.net/fix.php?id=32383&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=32383&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=32383&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=32383&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32383&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=32383&r=dst IIS Stability: http://bugs.php.net/fix.php?id=32383&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=32383&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=32383&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=32383&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=32383&r=mysqlcfg

« previous php.bugs (#75561) next »