This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 117820 - Array function 'each' causes error
Summary: Array function 'each' causes error
Status: VERIFIED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Denis Anisimov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-04 17:42 UTC by kozlov
Modified: 2008-02-22 13:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kozlov 2007-10-04 17:42:47 UTC
Reproduced in build071003.


Example:

while (list($k,$v) = each($anyarray)){

}
Comment 1 Denis Anisimov 2007-11-06 17:21:42 UTC
The problem is not in "each" function .
The problem is in "list".
It is described as keyword in nbs file and possibly this is the problem.
Comment 2 Denis Anisimov 2007-11-06 17:27:29 UTC
Previous evaluation was correct.
This was essence of problem.
Comment 3 kozlov 2007-12-04 12:30:02 UTC
Verified in beta.