34,333
edits
Changes
→The PHP Integer Variable Type
?>
</pre>
Integer values can be specified in Octal by prefixing the value with a zero '0':
<pre>
$myoctInteger = 0456;
</pre>
Simialrly, Hexadecimal values are pre-fixed with 0x:
<pre>
$myHexInteger = 0x5EF3;
</pre>