#41169 [Opn]: foreach() on empty array causes key to be created

2007-04-22 Thread mobile-g at softhome dot net
ID: 41169 User updated by: mobile-g at softhome dot net Reported By: mobile-g at softhome dot net Status: Open Bug Type: Unknown/Other Function Operating System: Red Hat PHP Version: 4.4.6 New Comment: var $myArray = Array(); foreach($this

#41169 [NEW]: foreach() on empty array causes key to be created

2007-04-22 Thread mobile-g at softhome dot net
From: mobile-g at softhome dot net Operating system: Red Hat PHP version: 4.4.6 PHP Bug Type: Unknown/Other Function Bug description: foreach() on empty array causes key to be created Description: running a foreach loop on an empty array causes the test key to