Last modified: 2012-01-25 15:53:31 UTC
See link!
Yeah, SUCKSFORME too.
Reopening. This can only really be fixed by deploying a hiphop build. That'll break the links on the phpsadness.com site which is what we really want.
I disagree. It can be fixed with a rewrite rule.
That would really just address the external symptoms, not the underlying suckage.
(In reply to comment #4) > That would really just address the external symptoms, not the underlying > suckage. php sucks in many ways. And while the summary of this bug is vague, the first comment references only that link. If you want other bits of PHP suck fixed, file other bugs for them and we'll make this a tracking bug.
Let's do this PHP style then... resolved bogus: this is intended behavior. ;)
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, )
It is supported, in fact it is so supported that you have 5 array_diff* functions. As this report isn't claiming inconsistency, but lack of support, it's invalid.