Lines Matching refs:base_convert
2 Test base_convert() function : error conditions - incorrect input
5 /* Prototype : string base_convert ( string $number , int $frombase , int $tobase )
10 echo "*** Testing base_convert() : error conditions ***\n";
18 base_convert();
19 base_convert(35);
20 base_convert(35,2);
21 base_convert(1234, 1, 10);
22 base_convert(1234, 10, 37);
25 base_convert(new classA(), 8, 10);
29 *** Testing base_convert() : error conditions ***
32 Warning: base_convert() expects exactly 3 parameters, 0 given in %s on line %d
34 Warning: base_convert() expects exactly 3 parameters, 1 given in %s on line %d
36 Warning: base_convert() expects exactly 3 parameters, 2 given in %s on line %d
38 Warning: base_convert(): Invalid `from base' (1) in %s on line %d
40 Warning: base_convert(): Invalid `to base' (37) in %s on line %s