PHP Manual
Prev |  | Next

# octdec

(PHP 3 <= 3.0.18, PHP 4 >= 4.0.0)

octdec -- Octal to decimal

## Description

``int octdec` (string octal_string)`

Returns the decimal equivalent of the octal number represented by the octal_string argument. OctDec converts an octal string to a decimal number. The largest number that can be converted is 17777777777 or 2147483647 in decimal.

See also decoct().

Prev | Home | Next
number_format | Up | pi