ID: 27442
Comment by: marrtins at hackers dot lv
Reported By: kim at openphp dot cn
Status: Bogus
Bug Type: Unknown/Other Function
Operating System: Windows Server 2003
PHP Version: 4.3.4
New Comment:
sorry, ignore my last comment, there was my fault
Previous Comments:
------------------------------------------------------------------------
[2004-06-09 18:14:29] marrtins at hackers dot lv
i'v got the same problem - on windows 2003 running iis + php. on linux
2.4.x and windows 2000 on (both on apache) this code produces *no*
warning.
------------------------------------------------------------------------
[2004-03-12 04:20:01] kim at openphp dot cn
OK,$value = @ (2/0); has always output . On Windows Server 2003 . Some
One test it ?
http://www.openphp.cn/zero.gifhttp://www.openphp.cn/zero2.gif
------------------------------------------------------------------------
[2004-03-02 05:54:58] kim at openphp dot cn
Oh~My God ! Look At These two Pictures :
http://www.openphp.cn/zero.gifhttp://www.openphp.cn/zero2.gif
I don't know how to use CMD ....:)
------------------------------------------------------------------------
[2004-03-02 05:21:41] derick@php.net
derick@kossu:~$ php-4.3.5RC3 -n -derror_reporting=2047 -r '$value = @
(2/0);';
derick@kossu:~$ php-5.0dev -n -derror_reporting=2047 -r '$value = @
(2/0);';
derick@kossu:~$
no output...
------------------------------------------------------------------------
[2004-03-02 05:10:44] kim at openphp dot cn
Sorry . My English is not good :(
But ,
<?php
$value = @ (2/0);
?>
On PHP4.3.4(or higher) , the output is :
Warning: Division by zero in Unknown on line 0
Not:
This also has nothing to do with your earlier example:
<?php echo @ (2/0); ?> shows no output at all on php 4.3.2,
4.3.3,4.3.5rc1 and 5.0dev
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/27442--
Edit this bug report at http://bugs.php.net/?id=27442&edit=1