2 /* Prototype : string base_convert ( string $number , int $frombase , int $tobase )
3 * Description: Convert a number between arbitrary bases.
4 * Source code: ext/standard/math.c
7 echo "*** Testing base_convert() : error conditions ***\n";
14 echo "Incorrect number of arguments\n";
18 base_convert(1234, 1, 10);
19 base_convert(1234, 10, 37);
21 echo "Incorrect input\n";
22 base_convert(new classA(), 8, 10);