Negative integers as array keys

From: Date: Sat, 09 Feb 2002 06:12:39 +0000
Subject: Negative integers as array keys
Groups: php.dev 
Request: Send a blank email to php-dev+get-79795@lists.php.net to get a copy of this message
The PHP manual[1] states that negative integer values are not valid array keys, but a simple test proves otherwise. Has this changed, or is this behavior simply not guranteed or supported? [1] http://www.php.net/manual/en/language.types.array.php -- Jon Parise (jon@csh.rit.edu) . Information Technology (2001) http://www.csh.rit.edu/~jon/ : Computer Science House Member

« previous php.dev (#79795) next »