cvs: php-src /tests/lang bug24054.phpt

From: Date: Sat, 13 Sep 2003 19:49:50 +0000
Subject: cvs: php-src /tests/lang bug24054.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-23770@lists.php.net to get a copy of this message
abies Sat Sep 13 15:49:50 2003 EDT Modified files: /php-src/tests/lang bug24054.phpt Log: WS Index: php-src/tests/lang/bug24054.phpt diff -u php-src/tests/lang/bug24054.phpt:1.2 php-src/tests/lang/bug24054.phpt:1.3 --- php-src/tests/lang/bug24054.phpt:1.2 Sat Sep 13 11:27:09 2003 +++ php-src/tests/lang/bug24054.phpt Sat Sep 13 15:49:50 2003 @@ -1,26 +1,24 @@ --TEST-- Bug #24054 (Assignment operator *= broken) --FILE-- -<?php +<?php // $Id: bug24054.phpt,v 1.3 2003/09/13 19:49:50 abies Exp $ define('LONG_MAX', is_int(5000000000)? 9223372036854775807 : 0x7FFFFFFF); define('LONG_MIN', -LONG_MAX - 1); printf("%d,%d,%d,%d\n",is_int(LONG_MIN ),is_int(LONG_MAX ), is_int(LONG_MIN-1),is_int(LONG_MAX+1)); - $i = LONG_MAX; + $i = LONG_MAX; - $j = $i * 1001; - $i *= 1001; - + $j = $i * 1001; + $i *= 1001; $tests = <<<TESTS - $i === $j TESTS; - include(dirname(__FILE__) . '/../quicktester.inc'); - +include(dirname(__FILE__) . '/../quicktester.inc'); + --EXPECT-- 1,1,0,0 OK

« previous php.cvs (#23770) next »