ID: 34723 Updated by: [EMAIL PROTECTED] Reported By: gimmelol at netcourrier dot com -Status: Assigned +Status: Closed Bug Type: Arrays related Operating System: * PHP Version: 5CVS-2005-10-04 (CVS) Assigned To: tony2001 New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2005-10-04 10:41:22] [EMAIL PROTECTED] Still broken. ------------------------------------------------------------------------ [2005-10-04 03:19:12] gimmelol at netcourrier dot com Description: ------------ This bug has already been reported and marked bogus here: http://bugs.php.net/bug.php?id=33279 but it is still reproducible in 5.1RC1 and recent snapshots Reproduce code: --------------- <?php var_dump(array_count_values(array("012345"))); ?> Expected result: ---------------- array(1) { ["012345"]=> int(1) } Actual result: -------------- array(1) { [12345]=> int(1) } ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34723&edit=1