I just realised that his is valid PHP: <?php var_dump( array( 'foo' => 42, 'foo' => 53));
Producing the following output: array(1) { ["foo"]=> int(53) } I can anticipate that there may be practical reasons for this "feature", but I can't think up any scenario, where it wouldn't be a programming error to statically declare an associative array with the same key multiple times. Is this a bug or a known quirk? Should I file a bug-report on it? -- troels -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php