summaryrefslogtreecommitdiff
path: root/ext/standard/tests/math/base_convert_basic.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/math/base_convert_basic.phpt')
-rw-r--r--ext/standard/tests/math/base_convert_basic.phpt14
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/standard/tests/math/base_convert_basic.phpt b/ext/standard/tests/math/base_convert_basic.phpt
index 0da1d1f77c..9591411db3 100644
--- a/ext/standard/tests/math/base_convert_basic.phpt
+++ b/ext/standard/tests/math/base_convert_basic.phpt
@@ -9,23 +9,23 @@ $values = array(10,
27,
39,
03,
- 0x5F,
+ 0x5F,
"10",
"27",
"39",
- "5F",
+ "5F",
"3XYZ"
- );
+ );
for ($f= 0; $f < count($frombase); $f++) {
echo "\n...from base is ", $frombase[$f], "\n";
for ($t= 0; $t < count($tobase); $t++) {
- echo "......to base is ", $tobase[$t], "\n";
- for ($i =0; $i < count($values); $i++){
+ echo "......to base is ", $tobase[$t], "\n";
+ for ($i =0; $i < count($values); $i++){
$res = base_convert($values[$i],$frombase[$f],$tobase[$t]);
echo ".........value= ", $values[$i], " res = ", $res, "\n";
- }
- }
+ }
+ }
}
?>