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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: users at freesurf dot ch
New email:
PHP Version: OS:

 

 [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

Pull Requests

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: Sat Dec 21 14:01:32 2024 UTC