Searched refs:base_convert (Results 1 – 8 of 8) sorted by relevance
/PHP-5.4/ext/standard/tests/math/ |
H A D | base_convert_error.phpt | 2 Test base_convert() function : error conditions - incorrect input 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 *** 38 Warning: base_convert(): Invalid `from base' (1) in %s on line %d [all …]
|
H A D | base_convert_variation2.phpt | 10 echo "*** Testing base_convert() : usage variations ***\n"; 68 var_dump(base_convert(25, $input, 8)); 74 *** Testing base_convert() : usage variations *** 78 Warning: base_convert(): Invalid `from base' (0) in %s on line %d 83 Warning: base_convert(): Invalid `from base' (1) in %s on line %d 88 Warning: base_convert(): Invalid `from base' (-1) in %s on line %d 116 Warning: base_convert(): Invalid `from base' (0) in %s on line %d 121 Warning: base_convert(): Invalid `from base' (0) in %s on line %d 126 Warning: base_convert(): Invalid `from base' (0) in %s on line %d 131 Warning: base_convert(): Invalid `from base' (0) in %s on line %d [all …]
|
H A D | base_convert_variation3.phpt | 10 echo "*** Testing base_convert() : usage variations ***\n"; 68 var_dump(base_convert(25, 10, $input)); 74 *** Testing base_convert() : usage variations *** 78 Warning: base_convert(): Invalid `to base' (0) in %s on line %d 83 Warning: base_convert(): Invalid `to base' (1) in %s on line %d 88 Warning: base_convert(): Invalid `to base' (-1) in %s on line %d 116 Warning: base_convert(): Invalid `to base' (0) in %s on line %d 121 Warning: base_convert(): Invalid `to base' (0) in %s on line %d 126 Warning: base_convert(): Invalid `to base' (0) in %s on line %d 131 Warning: base_convert(): Invalid `to base' (0) in %s on line %d [all …]
|
H A D | base_convert_variation1.phpt | 2 Test base_convert() function : usage variations - different data types as $number argument 5 /* Prototype : string base_convert ( string $number , int $frombase , int $tobase ) 10 echo "*** Testing base_convert() : usage variations ***\n"; 70 // loop through each element of $inputs to check the behaviour of base_convert() 74 var_dump(base_convert($input, 10, 8)); 81 *** Testing base_convert() : usage variations ***
|
H A D | base_convert_basic.phpt | 2 Test base_convert() - basic function tests base_convert() 25 $res = base_convert($values[$i],$frombase[$f],$tobase[$t]);
|
/PHP-5.4/ext/standard/ |
H A D | php_math.h | 64 PHP_FUNCTION(base_convert);
|
H A D | math.c | 1065 PHP_FUNCTION(base_convert) in PHP_FUNCTION() argument
|
H A D | basic_functions.c | 2918 PHP_FE(base_convert, arginfo_base_convert)
|
Completed in 40 milliseconds