ID:               21918
 Updated by:       [EMAIL PROTECTED]
 Reported By:      messju at lammfellpuschen dot de
 Status:           Assigned
 Bug Type:         Scripting Engine problem
 Operating System: *
 PHP Version:      4.3.3-RC3/5.0.0b2
 Assigned To:      zeev
 New Comment:

It's not 'broken' again, what I reverted had nothing to do with this
bug.  Look at the diff before you start shouting!

I'm still not sure if we'll keep the auto conversion for negative
numbers.  My preference is to fix the docs, since all sorts of other
notations don't work, and we have no intention on making them work
(e.g., $foo["+7"], $foo["3.5"], etc.




Previous Comments:
------------------------------------------------------------------------

[2003-08-12 18:45:55] [EMAIL PROTECTED]

Zeev could at least explain WHY he reverted the fix..


------------------------------------------------------------------------

[2003-08-12 15:46:46] [EMAIL PROTECTED]

Broken again

------------------------------------------------------------------------

[2003-08-11 15:15:35] [EMAIL PROTECTED]

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.



------------------------------------------------------------------------

[2003-02-08 12:35:57] [EMAIL PROTECTED]

Related to bug #8325


------------------------------------------------------------------------

[2003-01-29 02:22:57] messju at lammfellpuschen dot de

I relied on http://www.php.net/manual/en/language.types.array.php

it states:

"A key is either an integer or a string. If a key is the standard
representation of an integer, it will be interpreted as such (i.e. "8"
will be interpreted as 8, while "08" will be interpreted as "08")."

so the keys should be casted to int, or it is a documentation-bug, or
"-1" is not a "standard representation of an integer".

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/21918

-- 
Edit this bug report at http://bugs.php.net/?id=21918&edit=1

Reply via email to