Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: decoct - Manual
[go: Go Back, main page]

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

search for in the

deg2rad" width="11" height="7"/> <dechex
Last updated: Sun, 25 Nov 2007

view this page in

decoct

(PHP 4, PHP 5)

decoct — 10 進数を 8 進数に変換する

説明

string decoct ( int $number )

引数 number を 8 進数表現した文字列を返します。 変換出来る最大の数字は 10 進数の 4294967295 であり、"37777777777" を返します。

パラメータ

number

変換したい 10 進数値。

返り値

number を 8 進文字列で表した値を返します。

Example#1 decoct() の例

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

上の例の出力は以下となります。

17
410



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

deg2rad" width="11" height="7"/> <dechex
Last updated: Sun, 25 Nov 2007
 
 
show source | credits | sitemap | contact | advertising | mirror sites