Basic <-> PHP | Octal literal
Basic  
octal literal
Description
 &O123Output
- return - Integers
Examples
Basic
Octal literal the possible of use:x = &O12         ' x = 10
y = 4 * &O77     ' y = 374
if x>10 then
  y = x / &Ha   ' y = 1
end if
.
PHP  
octal literal
Description
 0123Output
- return - Integers
Examples
PHP
Octal literal the possible of use:$x = 012;         // x = 10
$y = 4 * 077;     // y = 374
if ($x>10)
  $y = (double)$x / 0xa;   // y = 1You can find it in the following collections: constants
Octal literal in another programming language:
Differences to: