php man page for decoct

Query: decoct

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

DECOCT(3)								 1								 DECOCT(3)

decoct - Decimal to octal

SYNOPSIS
string decoct (int $number)
DESCRIPTION
Returns a string containing an octal representation of the given $number argument. The largest number that can be converted is 4294967295 in decimal resulting to "37777777777".
PARAMETERS
o $number - Decimal value to convert
RETURN VALUES
Octal string representation of $number
EXAMPLES
Example #1 decoct(3) example <?php echo decoct(15) . " "; echo decoct(264); ?> The above example will output: 17 410
SEE ALSO
octdec(3), decbin(3), dechex(3), base_convert(3). PHP Documentation Group DECOCT(3)
Related Man Pages
ip2long(3) - php
addcslashes(3) - php
decbin(3) - php
gmp_init(3) - php
gmp_prob_prime(3) - php
Similar Topics in the Unix Linux Community
User Guide: Posting in the Emergency Forum
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch
Please Welcome Nicki Paul to the Moderator Team!