|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-11-25 06:10 UTC] 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.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 17:00:02 2025 UTC |
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.