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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: luocq at asiainfo dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 13 03:01:32 2025 UTC