php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23659 *= return value is 0
Submitted: 2003-05-16 09:57 UTC Modified: 2003-05-21 18:02 UTC
From: luocq at asiainfo dot com Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.3.2RC3 OS: Windows 2003 Server Chinese
Private report: No CVE-ID: None
 [2003-05-16 09:57 UTC] luocq at asiainfo dot com
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-05-16 09:59 UTC] moriyoshi@php.net
phpinfo please.

 [2003-05-21 18:02 UTC] sniper@php.net
Works fine here.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 27 10:01:30 2024 UTC