#20618 [Asn->Opn]: juggling with type juggling
| From: | iliaa@php.net | Date: | Mon, 30 Jun 2003 01:43:49 +0000 |
| Subject: | #20618 [Asn->Opn]: juggling with type juggling | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-42777@lists.php.net to get a copy of this message | ||
ID: 20618
Updated by: iliaa@php.net
Reported By: harald dot radi at nme dot at
-Status: Assigned
+Status: Open
Bug Type: Scripting Engine problem
Operating System: any
PHP Version: 4CVS-2002-11-25 (dev)
Assigned To: derick
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2002-11-25 11:43:08] derick@php.net
It's not in CVS, and thus not closed :-)
------------------------------------------------------------------------
[2002-11-25 11:09:55] harald dot radi at nme dot at
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.
------------------------------------------------------------------------
[2002-11-25 06:13:03] jan@php.net
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] jan@php.net
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] harald dot radi at nme dot at
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