ID: 20618
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Bogus
+Status: Closed
Bug Type: Scripting Engine problem
Operating System: any
PHP Version: 4CVS-2002-11-25 (dev)
New Comment:
hey, this was a serious bug report :)
(int) "0x200" is 0
while
(int) ("0x200" + 0) is 512
i'm setting it to closed as derick located that 'zend magic' caused by
the radix beeing forced to be 10 in zend_operators.c line 216.
Previous Comments:
------------------------------------------------------------------------
[2002-11-25 06:13:03] [EMAIL PROTECTED]
Not enough beer was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more beer, feel free to send it
to the developers and change the status back to "Open".
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2002-11-25 06:12:57] [EMAIL PROTECTED]
Not enough beer was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more beer, feel free to send it
to the developers and change the status back to "Open".
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2002-11-25 06:10:24] [EMAIL PROTECTED]
i offer a beer for the one that correctly guesses the output of the
following script:
<?php
var_dump(256 + "0x100" + (int)("0x100") + (int)("0x100" + 256));
?>
be honest, don't run it.
harald
ps: derick is excluded, but he doesn't like beer anyways :) and he is
trying to fix this - thanks.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20618&edit=1