#23659 [NEW]: *= return value is 0
| From: | luocq at asiainfo dot com | Date: | Fri, 16 May 2003 14:57:45 +0000 |
| Subject: | #23659 [NEW]: *= return value is 0 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-39795@lists.php.net to get a copy of this message | ||
From: luocq at asiainfo dot com
Operating system: Windows 2003 Server Chinese
PHP version: 4.3.2RC3
PHP Bug Type: Regexps related
Bug description: *= return value is 0
security
In Windows 2003 Server Simple Chinese Operating System,these code run
result is error.
<?
$nResult = 6;
$nResult *= 256;
echo $nResult;
?>
The result is 0,this is error.
But if run on Windows 2000 Server,its result is 1536,this OK.
Or if change to:
$nResult = $nResult * 256;
The result is 1536,this OK.
So I think the error happen on *=
Please check it.
I use PHP 4.3.2 RC3
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡akay
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡akay@21cn.com
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2003-05-16
--
Edit bug report at http://bugs.php.net/?id=23659&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23659&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23659&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23659&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23659&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23659&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23659&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23659&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23659&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23659&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23659&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23659&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23659&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23659&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23659&r=gnused