#24054 [NEW]: Assignment Operateors (*=)
| From: | spam at oops dot org | Date: | Fri, 06 Jun 2003 09:25:26 +0000 |
| Subject: | #24054 [NEW]: Assignment Operateors (*=) | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-41328@lists.php.net to get a copy of this message | ||
From: spam at oops dot org
Operating system: Linux
PHP version: 4.3.2
PHP Bug Type: Scripting Engine problem
Bug description: Assignment Operateors (*=)
4.3.2 has assignment operateors problem.
<?php
$i = 10000000;
$i *= 1001;
echo $i;
?>
upper code returns "1421485473408".
but
<?php
$i = 10000000;
$i = $i * 1001;
echo $i;
?>
upper code is success return "10010000000".
*= operator has not always problem.
if about bigger than 1000000000, problem is occured. :-)
P.S
sorry for my poor english.
--
Edit bug report at http://bugs.php.net/?id=24054&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24054&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=24054&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24054&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24054&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24054&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24054&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24054&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24054&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24054&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24054&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24054&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24054&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24054&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24054&r=gnused