diff options
Diffstat (limited to 'ext/standard/tests/general_functions/print_r_64bit.phpt')
-rw-r--r-- | ext/standard/tests/general_functions/print_r_64bit.phpt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ext/standard/tests/general_functions/print_r_64bit.phpt b/ext/standard/tests/general_functions/print_r_64bit.phpt index 40f44ea1e4..7831fdb3e2 100644 --- a/ext/standard/tests/general_functions/print_r_64bit.phpt +++ b/ext/standard/tests/general_functions/print_r_64bit.phpt @@ -29,9 +29,9 @@ function check_printr( $variables ) { $counter++; } } - + echo "\n*** Testing print_r() on integer variables ***\n"; -$integers = array ( +$integers = array ( 0, // zero as argument 000000123, //octal value of 83 123000000, @@ -47,7 +47,7 @@ $integers = array ( -0x80000000, // min range of hexadecimal integer 017777777777, // max posotive octal integer -020000000000 // min range of octal integer -); +); /* calling check_printr() to display contents of integer variables using print_r() */ check_printr($integers); @@ -85,7 +85,7 @@ $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_printr() to display contents of float variables using print_r() */ @@ -117,7 +117,7 @@ $booleans = array ( FALSE, true, false -); +); /* calling check_printr() to display boolean variables using print_r() */ check_printr($booleans); var_dump( reset($booleans) ); @@ -232,7 +232,7 @@ print_r($recursion_obj2); echo "\n*** Testing print_r() on resources ***\n"; /* file type resource */ -$file_handle = fopen(__FILE__, "r"); +$file_handle = fopen(__FILE__, "r"); /* directory type resource */ $dir_handle = opendir( dirname(__FILE__) ); @@ -260,9 +260,9 @@ $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_printr() to display combinations of scalar and +/* calling check_printr() to display combinations of scalar and non-scalar variables using print_r() */ check_printr($variations); |