PHP: decoct - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

deg2rad dechex

Last updated: Sat, 27 Jan 2007

view this page in

# decoct

(PHP 3, PHP 4, PHP 5)

decoct -- Decimal to octal

## Description

string decoct ( int number )

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".

Пример 1. decoct() example

`<?php echo decoct(15) . "\n"; echo decoct(264); ?>`

Результат выполнения данного примера:

    17
    410

See also octdec(), decbin(), dechex() and base_convert().

add a note User Contributed Notes
decoct
There are no user contributed notes for this page.
deg2rad dechex

Last updated: Sat, 27 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 09:32:46 2007 PST