note 107653 rejected from language.types.integer by danbrown
| From: | danbrown@php.net | Date: | Thu, 10 May 2012 20:24:11 +0000 |
| Subject: | note 107653 rejected from language.types.integer by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-187795@lists.php.net to get a copy of this message | ||
Note Submitter: shirne at 126 dot com
----
<?php
$a=2;
echo (0x00+2); //4
echo '<br />';
echo (0x0 -$a); // -2
echo '<br />';
echo (0x0 -2); // -4
echo '<br />';
echo (0x0 +2); // 4
echo '<br />';
echo (0x00 + 2); //2
?>
What's wrong?