#32383 [Opn->Fbk]: count() hits 4796 maximum count

From: Date: Sun, 20 Mar 2005 16:56:44 +0000
Subject: #32383 [Opn->Fbk]: count() hits 4796 maximum count
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-75569@lists.php.net to get a copy of this message
ID: 32383 Updated by: sniper@php.net Reported By: mark dot booker at gmail dot com -Status: Open +Status: Feedback Bug Type: Arrays related Operating System: Windows Server 2003 Ent. Edt. PHP Version: 5.0.3 New Comment: Please try using this CVS snapshot: http://snaps.php.net/php5-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.0-win32-latest.zip I can not reproduce this. Previous Comments: ------------------------------------------------------------------------ [2005-03-20 12:53:44] mark dot booker at gmail dot com 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 this bug report at http://bugs.php.net/?id=32383&edit=1

« previous php.bugs (#75569) next »