php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7574 each() returns empty [0] / [key] field
Submitted: 2000-11-01 15:08 UTC Modified: 2000-12-07 12:00 UTC
From: users at freesurf dot ch Assigned:
Status: Closed Package: Arrays related
PHP Version: 4.0.3pl1 OS: WIN32
Private report: No CVE-ID: None
 [2000-11-01 15:08 UTC] users at freesurf dot ch
after adding a new element to an array using "array[]=..." the each() function returns an empty [0] / [key] field for this new element. the [1] field contains the correct value.

setup: standard 4.0.3pl1 distribution for win32 (php.ini = php.ini-dist)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-05 06:15 UTC] stas@php.net
Could you please provide short reproducing code?
 [2000-12-07 12:00 UTC] sniper@php.net
No feedback.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 10:01:28 2024 UTC