Re: [PATCH] zend_operators DVAL_TO_LVAL fix

From: Date: Tue, 31 Aug 2004 09:21:57 +0000
Subject: Re: [PATCH] zend_operators DVAL_TO_LVAL fix
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-12497@lists.php.net to get a copy of this message
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)

« previous php.internals (#12497) next »