https://bugzilla.wikimedia.org/show_bug.cgi?id=29169
Antoine "hashar" Musso <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |[email protected] Resolution|INVALID | --- Comment #7 from Antoine "hashar" Musso <[email protected]> 2012-01-24 09:28:32 UTC --- PHP does not support simple maths with arrays. So I am reopening this bug. TEST CODE: <?php $ab = array( 'a' => 1, 'b' => 2 ); $c = array( 'c' => 3 ); var_export( $ab + $c ); var_export( $ab + $c - $c); ?> RESULT: array ( 'a' => 1, 'b' => 2, 'c' => 3, ) Fatal error: Unsupported operand types in ./array.php on line 6 Call Stack: 0.0004 645600 1. {main}() ./array.php:0 EXPECTED: array ( 'a' => 1, 'b' => 2, 'c' => 3, ) array ( 'a' => 1, 'b' => 2, ) -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
