Changes

Jump to: navigation, search

Understanding PHP Variable Types

210 bytes added, 19:45, 25 May 2007
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>

Navigation menu