From:             [EMAIL PROTECTED]
Operating system: freebsd
PHP version:      4.0.1pl2
PHP Bug Type:     Scripting Engine problem
Bug description:  array_pop reorders array keys

This is a repeat of 5226, but I couldn't add anything without a password, which I 
didn't have.

In that bug, [EMAIL PROTECTED] didn't understand the example that was given. What 
happens is this: if you have


and then do array_pop($a), you now have $a[0]="five", not $a[5]="five", as I would 

Despite not understanding the example, stas answered the question: that's the way the 
zend engine works. But you don't see that as a problem?

Edit Bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to