#20618 [NEW]: juggling with type juggling
| From: | harald dot radi at nme dot at | Date: | Mon, 25 Nov 2002 12:10:24 +0000 |
| Subject: | #20618 [NEW]: juggling with type juggling | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-25776@lists.php.net to get a copy of this message | ||
From: harald.radi@nme.at
Operating system: any
PHP version: 4CVS-2002-11-25 (dev)
PHP Bug Type: Scripting Engine problem
Bug description: juggling with type juggling
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 bug report at http://bugs.php.net/?id=20618&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20618&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20618&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20618&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20618&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20618&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20618&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20618&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20618&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20618&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20618&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20618&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20618&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20618&r=isapi