octdec
Octal to decimal
Description
numberoctdec
stringoctal_string
Returns the decimal equivalent of the octal number
represented by the octal_string argument.
The largest number that can be converted is 17777777777 or 2147483647 in
decimal.
As of PHP 4.1.0, this function can also convert larger numbers. It returns
float in that case.
octdec example
]]>
The above example will output:
See also:
decoct,
bindec,
hexdec, and
base_convert.