From: Antony Dovgal Date: Thu, 28 Sep 2006 12:03:49 +0000 (+0000) Subject: new tests X-Git-Tag: php-5.2.0RC5~83 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=40924a6f6ce7167c192b561fd0b9d8d6273414bd;p=php new tests --- diff --git a/Zend/tests/int_overflow_64bit.phpt b/Zend/tests/int_overflow_64bit.phpt new file mode 100644 index 0000000000..306fbae602 --- /dev/null +++ b/Zend/tests/int_overflow_64bit.phpt @@ -0,0 +1,29 @@ +--TEST-- +testing integer overflow (64bit) +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +int(-9223372036854775808) +int(-9223372036854775808) +int(-9223372036854775808) +int(-9223372036854775808) +int(-9223372036854775808) +Done diff --git a/Zend/tests/int_underflow_64bit.phpt b/Zend/tests/int_underflow_64bit.phpt new file mode 100644 index 0000000000..48a43a3ca3 --- /dev/null +++ b/Zend/tests/int_underflow_64bit.phpt @@ -0,0 +1,29 @@ +--TEST-- +testing integer underflow (64bit) +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +int(-9223372036854775808) +int(-9223372036854775808) +int(-9223372036854775808) +int(-9223372036854775808) +int(-9223372036854775808) +Done