Also, the bug27354 test needs to be updated since it relies on
particular behaviour of integers greater than LONG_MAX on 32-bit
platforms; since it looks like it is only really checking for
not-a-division-by-zero-trap, this seems OK:

--- php-4.3.8/tests/lang/bug27354.phpt.dval2lval
+++ php-4.3.8/tests/lang/bug27354.phpt
@@ -7,8 +7,8 @@
        var_dump(-2147483648 % -1);
        var_dump(-2147483648 % -2);
 ?>
---EXPECT--
-int(0)
-int(0)
-int(0)
-int(0)
+--EXPECTF--
+int(%i)
+int(%i)
+int(%i)
+int(%i)

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to