The PHP octdec() function converts an octal number to a decimal number.
Syntax
octdec(octal_string)
Parameters
Parameter | Description |
---|---|
octal_string | Specifies the octal string to convert (required) |