1--TEST--
2Test decbin() - basic function test
3--FILE--
4<?php
5$values = array(10,
6				3950.5,
7				3.9505e3,
8				03,
9				0x5F,
10				"10",
11				"3950.5",
12				"3.9505e3",
13				"039",
14				"0x5F",
15				true,
16				false,
17				null,
18				);
19
20for ($i = 0; $i < count($values); $i++) {
21	$res = decbin($values[$i]);
22	var_dump($res);
23}
24?>
25--EXPECTF--
26string(4) "1010"
27string(12) "111101101110"
28string(12) "111101101110"
29string(2) "11"
30string(7) "1011111"
31string(4) "1010"
32string(12) "111101101110"
33string(12) "111101101110"
34string(6) "100111"
35string(1) "0"
36string(1) "1"
37string(1) "0"
38string(1) "0"
39