summaryrefslogtreecommitdiff
path: root/ext/standard/tests/general_functions/var_dump_64bit.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/general_functions/var_dump_64bit.phpt')
-rw-r--r--ext/standard/tests/general_functions/var_dump_64bit.phpt24
1 files changed, 12 insertions, 12 deletions
diff --git a/ext/standard/tests/general_functions/var_dump_64bit.phpt b/ext/standard/tests/general_functions/var_dump_64bit.phpt
index 6bbbb3f51d..d9ca8b5528 100644
--- a/ext/standard/tests/general_functions/var_dump_64bit.phpt
+++ b/ext/standard/tests/general_functions/var_dump_64bit.phpt
@@ -22,9 +22,9 @@ function check_vardump( $variables ) {
$counter++;
}
}
-
+
echo "\n*** Testing var_dump() on integer variables ***\n";
-$integers = array (
+$integers = array (
0, // zero as argument
000000123, //octal value of 83
123000000,
@@ -40,8 +40,8 @@ $integers = array (
-0x80000000, // min range of hexadecimal integer
017777777777, // max posotive octal integer
-020000000000 // min range of octal integer
-);
-/* calling check_vardump() to display contents of integer variables
+);
+/* calling check_vardump() to display contents of integer variables
using var_dump() */
check_vardump($integers);
@@ -78,9 +78,9 @@ $floats = array (
-0x80000001, // float value, beyond max negative int
0x80000001, // float value, beyond max positive int
020000000001, // float value, beyond max positive int
- -020000000001 // float value, beyond max negative int
+ -020000000001 // float value, beyond max negative int
);
-/* calling check_vardump() to display contents of float variables
+/* calling check_vardump() to display contents of float variables
using var_dump() */
check_vardump($floats);
@@ -101,7 +101,7 @@ $strings = array (
"abcd\0efgh\0ijkl\x00mnop\x000qrst\00uvwx\0000yz", // strings with octal NULL
"1234\t\n5678\n\t9100\rabcda" // strings with escape characters
);
-/* calling check_vardump() to display contents of strings
+/* calling check_vardump() to display contents of strings
using var_dump() */
check_vardump($strings);
@@ -111,7 +111,7 @@ $booleans = array (
FALSE,
true,
false
-);
+);
/* calling check_vardump() to display boolean variables
using var_dump() */
check_vardump($booleans);
@@ -226,7 +226,7 @@ var_dump($recursion_obj2);
echo "\n*** Testing var_dump() on resources ***\n";
/* file type resource */
-$file_handle = fopen(__FILE__, "r");
+$file_handle = fopen(__FILE__, "r");
/* directory type resource */
$dir_handle = opendir( dirname(__FILE__) );
@@ -254,7 +254,7 @@ $variations = array (
array( new no_member_class, array(), false, 0 ),
array( -0.00, "Where am I?", array(7,8,9), TRUE, 'A', 987654321 ),
array( @$unset_var, 2.E+10, 100-20.9, 000004.599998 ), //unusual data
- array( "array(1,2,3,4)1.0000002TRUE", @$file_handle, 111333.00+45e5, '/00\7')
+ array( "array(1,2,3,4)1.0000002TRUE", @$file_handle, 111333.00+45e5, '/00\7')
);
/* calling check_vardump() to display combinations of scalar and
non-scalar variables using var_dump() */
@@ -271,7 +271,7 @@ $misc_values = array (
check_vardump($misc_values);
echo "\n*** Testing var_dump() on multiple arguments ***\n";
-var_dump( $integers, $floats, $strings, $arrays, $booleans, $resources,
+var_dump( $integers, $floats, $strings, $arrays, $booleans, $resources,
$objects, $misc_values, $variations );
/* checking var_dump() on functions */
@@ -287,7 +287,7 @@ echo "\n*** Testing error conditions ***\n";
var_dump();
/* closing resource handle used */
-closedir($dir_handle);
+closedir($dir_handle);
echo "Done\n";
?>