diff options
author | Peter Kokot <peterkokot@gmail.com> | 2018-10-14 15:37:22 +0200 |
---|---|---|
committer | Peter Kokot <peterkokot@gmail.com> | 2018-10-14 19:43:12 +0200 |
commit | 7af945e271d042a4991c9510f78b6ff7ac43ac34 (patch) | |
tree | 31d3b7a69f017cd532c5fe31ce1664d426384f82 /ext/standard/tests/general_functions/gettype_settype_variation8.phpt | |
parent | afd534f1634e9a5d631afac39a9c9b09b1ba8b33 (diff) | |
download | php-git-7af945e271d042a4991c9510f78b6ff7ac43ac34.tar.gz |
Trim trailing whitespace in *.phpt
Diffstat (limited to 'ext/standard/tests/general_functions/gettype_settype_variation8.phpt')
-rw-r--r-- | ext/standard/tests/general_functions/gettype_settype_variation8.phpt | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/ext/standard/tests/general_functions/gettype_settype_variation8.phpt b/ext/standard/tests/general_functions/gettype_settype_variation8.phpt index 5e568fe7aa..25371faa19 100644 --- a/ext/standard/tests/general_functions/gettype_settype_variation8.phpt +++ b/ext/standard/tests/general_functions/gettype_settype_variation8.phpt @@ -12,7 +12,7 @@ precision=14 Description: Returns the type of the PHP variable var Prototype: bool settype ( mixed &$var, string $type ); - Description: Set the type of variable var to type + Description: Set the type of variable var to type */ /* Test usage variation of gettype() and settype() functions: @@ -32,8 +32,8 @@ function foo($errno, $errstr, $errfile, $errline) { echo "$errno: $errstr\n"; } //set the error handler, this is required as -// settype() would fail with catachable fatal error -set_error_handler("foo"); +// settype() would fail with catachable fatal error +set_error_handler("foo"); $var1 = "another string"; $var2 = array(2,3,4); @@ -57,15 +57,15 @@ class point } } -$var_values = array ( +$var_values = array ( /* nulls */ - null, + null, /* boolean */ - FALSE, + FALSE, TRUE, true, - + /* strings */ "\xFF", "\x66", @@ -79,7 +79,7 @@ $var_values = array ( "10", "10string", '10string', - "1", + "1", "-1", "1e2", " 1", @@ -125,11 +125,11 @@ $var_values = array ( 0555, -0555, 02224242434343152, // an octal value > than max int - + /* floats */ 1e5, -1e5, - 1E5, + 1E5, -1E5, -1.5, .5, @@ -179,7 +179,7 @@ foreach ($var_values as $var) { echo "Done\n"; ?> ---EXPECTF-- +--EXPECTF-- 8: Undefined variable: unset_var 8: Undefined variable: undef_var |