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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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

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: Mon Apr 29 13:01:30 2024 UTC