diff options
author | Peter Kokot <peterkokot@gmail.com> | 2018-10-15 04:31:31 +0200 |
---|---|---|
committer | Peter Kokot <peterkokot@gmail.com> | 2018-10-15 04:31:31 +0200 |
commit | f1d7e3ca0b70f910fcecef0278de9c15440ca3c0 (patch) | |
tree | 70af7290bf6c0b06f223254537b502013ade302e /tests/lang | |
parent | f98c916845571deeab189fb2ab52a17aef49edb8 (diff) | |
download | php-git-f1d7e3ca0b70f910fcecef0278de9c15440ca3c0.tar.gz |
Sync leading and final newlines in *.phpt sections
This patch adds missing newlines, trims multiple redundant final
newlines into a single one, and trims redundant leading newlines in all
*.phpt sections.
According to POSIX, a line is a sequence of zero or more non-' <newline>'
characters plus a terminating '<newline>' character. [1] Files should
normally have at least one final newline character.
C89 [2] and later standards [3] mention a final newline:
"A source file that is not empty shall end in a new-line character,
which shall not be immediately preceded by a backslash character."
Although it is not mandatory for all files to have a final newline
fixed, a more consistent and homogeneous approach brings less of commit
differences issues and a better development experience in certain text
editors and IDEs.
[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2
[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
Diffstat (limited to 'tests/lang')
51 files changed, 0 insertions, 59 deletions
diff --git a/tests/lang/028.phpt b/tests/lang/028.phpt index 0c2f2f0756..e455c3b446 100644 --- a/tests/lang/028.phpt +++ b/tests/lang/028.phpt @@ -1055,4 +1055,3 @@ I'm still alive Hey there!! 199 Dafna - diff --git a/tests/lang/032.phpt b/tests/lang/032.phpt index caa4c7e430..abc98f752d 100644 --- a/tests/lang/032.phpt +++ b/tests/lang/032.phpt @@ -33,4 +33,3 @@ echo "OK\n"; ?> --EXPECT-- OK - diff --git a/tests/lang/bug21094.phpt b/tests/lang/bug21094.phpt index ac3ae2a2c7..346185ba83 100644 --- a/tests/lang/bug21094.phpt +++ b/tests/lang/bug21094.phpt @@ -14,4 +14,3 @@ trigger_error("test"); ?> --EXPECTF-- [1024] errstr: test, errfile: %s, errline: %d - diff --git a/tests/lang/bug22690.phpt b/tests/lang/bug22690.phpt index 9d5444051b..85ddcd3487 100644 --- a/tests/lang/bug22690.phpt +++ b/tests/lang/bug22690.phpt @@ -8,7 +8,6 @@ Bug #22690 (ob_start() is broken with create_function() callbacks) ?> bar --EXPECTF-- - Deprecated: Function create_function() is deprecated in %s on line %d BAR BAR diff --git a/tests/lang/bug24054.phpt b/tests/lang/bug24054.phpt index fc51c83d77..70916ecdf2 100644 --- a/tests/lang/bug24054.phpt +++ b/tests/lang/bug24054.phpt @@ -18,7 +18,6 @@ $i === $j TESTS; include(dirname(__FILE__) . '/../quicktester.inc'); - --EXPECT-- 1,1,0,0 OK diff --git a/tests/lang/bug24573.phpt b/tests/lang/bug24573.phpt index 4a088c35e8..0e7456d3d2 100644 --- a/tests/lang/bug24573.phpt +++ b/tests/lang/bug24573.phpt @@ -20,5 +20,4 @@ echo "OK\n"; ?> --EXPECTF-- - Fatal error: Cannot re-assign $this in %s on line %d diff --git a/tests/lang/bug28800.phpt b/tests/lang/bug28800.phpt index 8bd2c306e1..1b84cd6d0d 100644 --- a/tests/lang/bug28800.phpt +++ b/tests/lang/bug28800.phpt @@ -8,7 +8,6 @@ Bug #28800 (Incorrect string to number conversion for strings starting with 'inf } ?> --EXPECTF-- - Warning: A non-numeric value encountered in %s on line %d 0 @@ -26,4 +25,3 @@ Warning: A non-numeric value encountered in %s on line %d Warning: A non-numeric value encountered in %s on line %d 0 - diff --git a/tests/lang/bug43958.phpt b/tests/lang/bug43958.phpt index bc88bcda0f..c1fca9d633 100644 --- a/tests/lang/bug43958.phpt +++ b/tests/lang/bug43958.phpt @@ -14,4 +14,3 @@ MyClass::loadCode('file-which-does-not-exist-on-purpose.php'); Warning: include(file-which-does-not-exist-on-purpose.php): failed to open stream: No such file or directory in %sbug43958.php on line 5 Warning: include(): Failed opening 'file-which-does-not-exist-on-purpose.php' for inclusion (include_path='%s') in %sbug43958.php on line 5 - diff --git a/tests/lang/bug44827.phpt b/tests/lang/bug44827.phpt index 90bf1d8893..d871cfd2a8 100644 --- a/tests/lang/bug44827.phpt +++ b/tests/lang/bug44827.phpt @@ -14,4 +14,3 @@ Warning: Class constants cannot be defined or redefined in %s on line %d Warning: constant(): Couldn't find constant :: in %s on line %d NULL - diff --git a/tests/lang/bug71897.phpt b/tests/lang/bug71897.phpt index bd76921af6..5864b1dece 100644 --- a/tests/lang/bug71897.phpt +++ b/tests/lang/bug71897.phpt @@ -10,7 +10,6 @@ eval(" ?> --EXPECTF-- - Warning: Unexpected character in input: '%s' (ASCII=127) state=0 in %s(%d) : eval()'d code on line %d Parse error: syntax error, unexpected 'b' (T_STRING) in %s(%d) : eval()'d code on line %d diff --git a/tests/lang/compare_objects_basic1.phpt b/tests/lang/compare_objects_basic1.phpt index e54fb2173e..90eb9a0581 100644 --- a/tests/lang/compare_objects_basic1.phpt +++ b/tests/lang/compare_objects_basic1.phpt @@ -1,7 +1,6 @@ --TEST-- Test standard 'compare' object handler --FILE-- - <?php echo "Simple test for standard compare object handler\n"; diff --git a/tests/lang/compare_objects_basic2.phpt b/tests/lang/compare_objects_basic2.phpt index 5c39822735..266d905253 100644 --- a/tests/lang/compare_objects_basic2.phpt +++ b/tests/lang/compare_objects_basic2.phpt @@ -1,7 +1,6 @@ --TEST-- Test object compare when object handler different --FILE-- - <?php //Set the default time zone diff --git a/tests/lang/each_binary_safety.phpt b/tests/lang/each_binary_safety.phpt index 37b18b32c7..ce175495aa 100644 --- a/tests/lang/each_binary_safety.phpt +++ b/tests/lang/each_binary_safety.phpt @@ -10,6 +10,5 @@ while (list($key, $val) = each($arr)) { } ?> --EXPECTF-- - Deprecated: The each() function is deprecated. This message will be suppressed on further calls in %s on line %d 7: foo%00bar => foo%00bar diff --git a/tests/lang/engine_assignExecutionOrder_001.phpt b/tests/lang/engine_assignExecutionOrder_001.phpt index 78dc31e008..dcfbb50e19 100644 --- a/tests/lang/engine_assignExecutionOrder_001.phpt +++ b/tests/lang/engine_assignExecutionOrder_001.phpt @@ -72,8 +72,6 @@ var_dump(C::$string); ?> --EXPECTF-- - - Order with local assignment: in f() in g() diff --git a/tests/lang/foreachLoop.002.phpt b/tests/lang/foreachLoop.002.phpt index 5b92736e5d..e0426e810f 100644 --- a/tests/lang/foreachLoop.002.phpt +++ b/tests/lang/foreachLoop.002.phpt @@ -72,7 +72,6 @@ var_dump($a); ?> --EXPECT-- - Directly changing array values. string(10) "original.1" string(10) "original.2" diff --git a/tests/lang/foreachLoop.003.phpt b/tests/lang/foreachLoop.003.phpt index a62d5dbb3b..3f20021a7b 100644 --- a/tests/lang/foreachLoop.003.phpt +++ b/tests/lang/foreachLoop.003.phpt @@ -31,7 +31,6 @@ foreach ($a as $v) { echo "done.\n"; ?> --EXPECTF-- - Not an array. Warning: Invalid argument supplied for foreach() in %s on line 4 diff --git a/tests/lang/foreachLoop.009.phpt b/tests/lang/foreachLoop.009.phpt index 37b0163358..9bf2957e12 100644 --- a/tests/lang/foreachLoop.009.phpt +++ b/tests/lang/foreachLoop.009.phpt @@ -51,7 +51,6 @@ foreach ($refedArray as $k=>&$v4) { ?> --EXPECT-- - Remove elements from a referenced array during loop key: 0; value: original.0 key: 1; value: original.1 @@ -75,4 +74,3 @@ key: 4; value: new.1 key: 5; value: new.2 key: 6; value: new.3 Loop detected, as expected. - diff --git a/tests/lang/foreachLoop.011.phpt b/tests/lang/foreachLoop.011.phpt index ab0568463c..089caaa9cf 100644 --- a/tests/lang/foreachLoop.011.phpt +++ b/tests/lang/foreachLoop.011.phpt @@ -22,7 +22,6 @@ foreach ($a as $v) { ?> --EXPECTF-- - Change from array to non iterable: int(1) int(2) diff --git a/tests/lang/foreachLoop.012.phpt b/tests/lang/foreachLoop.012.phpt index 0aa22aea57..54968a6aae 100644 --- a/tests/lang/foreachLoop.012.phpt +++ b/tests/lang/foreachLoop.012.phpt @@ -69,7 +69,6 @@ withRefValue(4, $transform); ?> --EXPECTF-- - Popping elements off end of an unreferenced array ---( Array with 1 element(s): )--- --> State of array before loop: diff --git a/tests/lang/foreachLoop.013.phpt b/tests/lang/foreachLoop.013.phpt index 6fe74b44bf..31b5717311 100644 --- a/tests/lang/foreachLoop.013.phpt +++ b/tests/lang/foreachLoop.013.phpt @@ -69,7 +69,6 @@ withRefValue(4, $transform); ?> --EXPECT-- - Popping elements off end of an unreferenced array, using &$value. ---( Array with 1 element(s): )--- --> State of array before loop: diff --git a/tests/lang/foreachLoop.015.phpt b/tests/lang/foreachLoop.015.phpt index 6b61220bf0..8a121bc052 100644 --- a/tests/lang/foreachLoop.015.phpt +++ b/tests/lang/foreachLoop.015.phpt @@ -71,7 +71,6 @@ withRefValue(4, $transform); ?> --EXPECT-- - Popping elements off end of a referenced array, using &$value ---( Array with 1 element(s): )--- --> State of referenced array before loop: diff --git a/tests/lang/foreachLoop.016.phpt b/tests/lang/foreachLoop.016.phpt index 7bdf8b3c89..f50d4aaa1c 100644 --- a/tests/lang/foreachLoop.016.phpt +++ b/tests/lang/foreachLoop.016.phpt @@ -118,7 +118,6 @@ Ensure foreach splits the iterated entity from its cow reference set, for all so unset(C::$a[0]->b, $b); ?> --EXPECTF-- - $a array(1) { [0]=> diff --git a/tests/lang/foreachLoopObjects.001.phpt b/tests/lang/foreachLoopObjects.001.phpt index fca3442bc1..36bc1d9925 100644 --- a/tests/lang/foreachLoopObjects.001.phpt +++ b/tests/lang/foreachLoopObjects.001.phpt @@ -35,8 +35,6 @@ echo "\nCheck key and value after the loop.\n"; var_dump($k, $v); ?> --EXPECTF-- - - Simple loop. string(10) "Original a" string(10) "Original b" diff --git a/tests/lang/foreachLoopObjects.005.phpt b/tests/lang/foreachLoopObjects.005.phpt index 624d9ad10c..8d6a4d5dc3 100644 --- a/tests/lang/foreachLoopObjects.005.phpt +++ b/tests/lang/foreachLoopObjects.005.phpt @@ -43,7 +43,6 @@ var_dump($obj); ?> --EXPECTF-- - Removing properties before the current element from an iterated object. string(10) "Original a" string(10) "Original b" diff --git a/tests/lang/foreach_with_references_001.phpt b/tests/lang/foreach_with_references_001.phpt index eb52bb8c10..a1f7c33600 100644 --- a/tests/lang/foreach_with_references_001.phpt +++ b/tests/lang/foreach_with_references_001.phpt @@ -16,7 +16,6 @@ foreach($arr as $key => &$val) { } print_r($arr); - --EXPECT-- Array ( diff --git a/tests/lang/func_get_arg_variation.phpt b/tests/lang/func_get_arg_variation.phpt index 3dab69f246..b0a2a57ff3 100644 --- a/tests/lang/func_get_arg_variation.phpt +++ b/tests/lang/func_get_arg_variation.phpt @@ -25,4 +25,3 @@ Warning: func_get_arg() expects parameter 1 to be integer, string given in %s on Warning: func_get_arg(): The argument number should be >= 0 in %s on line %d Warning: func_get_arg(): Argument 2 not passed to function in %s on line %d - diff --git a/tests/lang/func_get_args.002.phpt b/tests/lang/func_get_args.002.phpt index ea78d99a2b..f516893418 100644 --- a/tests/lang/func_get_args.002.phpt +++ b/tests/lang/func_get_args.002.phpt @@ -19,4 +19,3 @@ array(3) { [2]=> int(3) } - diff --git a/tests/lang/func_get_args.004.phpt b/tests/lang/func_get_args.004.phpt index 384d99a818..f6ed974d86 100644 --- a/tests/lang/func_get_args.004.phpt +++ b/tests/lang/func_get_args.004.phpt @@ -30,7 +30,6 @@ refVal($b, $b); var_dump($b); ?> --EXPECTF-- - -- Val, Ref -- string(10) "original.a" string(10) "original.a" diff --git a/tests/lang/func_num_args.003.phpt b/tests/lang/func_num_args.003.phpt index 168f79d04e..1520c31ed4 100644 --- a/tests/lang/func_num_args.003.phpt +++ b/tests/lang/func_num_args.003.phpt @@ -7,6 +7,5 @@ var_dump(func_num_args()); ?> --EXPECTF-- - Warning: func_num_args(): Called from the global scope - no function context in %s on line %d int(-1) diff --git a/tests/lang/func_num_args.004.phpt b/tests/lang/func_num_args.004.phpt index 29f999225a..412e65d019 100644 --- a/tests/lang/func_num_args.004.phpt +++ b/tests/lang/func_num_args.004.phpt @@ -30,8 +30,6 @@ refVal($b, $b); var_dump($b); ?> --EXPECTF-- - - -- Val, Ref -- string(10) "original.a" string(10) "original.a" diff --git a/tests/lang/operators/nan-comparison-false.phpt b/tests/lang/operators/nan-comparison-false.phpt index f7679b8b67..2c44405670 100644 --- a/tests/lang/operators/nan-comparison-false.phpt +++ b/tests/lang/operators/nan-comparison-false.phpt @@ -15,7 +15,6 @@ var_dump(0 < $nan); var_dump(0 <= $nan); var_dump(0 > $nan); var_dump(0 >= $nan); - --EXPECT-- ** CONST bool(false) diff --git a/tests/lang/passByReference_003.phpt b/tests/lang/passByReference_003.phpt index 8fe27407f1..be002031d7 100644 --- a/tests/lang/passByReference_003.phpt +++ b/tests/lang/passByReference_003.phpt @@ -23,7 +23,6 @@ echo "\nAfter call\n"; var_dump($undef2) ?> --EXPECTF-- - Passing undefined by value Notice: Undefined variable: undef1 in %s on line 13 diff --git a/tests/lang/passByReference_005.phpt b/tests/lang/passByReference_005.phpt index e3b0e21c5c..dc32962d67 100644 --- a/tests/lang/passByReference_005.phpt +++ b/tests/lang/passByReference_005.phpt @@ -143,7 +143,6 @@ var_dump($u1, $u2); ?> --EXPECTF-- - ---- Pass by ref / pass by val: functions ---- Notice: Undefined variable: u1 in %s on line 72 diff --git a/tests/lang/passByReference_006.phpt b/tests/lang/passByReference_006.phpt index f725092618..9f5d275333 100644 --- a/tests/lang/passByReference_006.phpt +++ b/tests/lang/passByReference_006.phpt @@ -54,7 +54,6 @@ var_dump($u1, $u2, $u3, $u4, $u5); ?> --EXPECTF-- - ---- Pass uninitialised array & object by ref: function call --- array(1) { [0]=> diff --git a/tests/lang/passByReference_008.phpt b/tests/lang/passByReference_008.phpt index 6f00cc4b50..6ac5c78d63 100644 --- a/tests/lang/passByReference_008.phpt +++ b/tests/lang/passByReference_008.phpt @@ -26,8 +26,6 @@ refVal($b, $b); var_dump($b); ?> --EXPECTF-- - - -- Val, Ref -- string(10) "original.a" string(10) "original.a" diff --git a/tests/lang/passByReference_010.phpt b/tests/lang/passByReference_010.phpt index 431659a24a..f996073c0f 100644 --- a/tests/lang/passByReference_010.phpt +++ b/tests/lang/passByReference_010.phpt @@ -33,8 +33,6 @@ var_dump($a); ?> --EXPECTF-- - - ---> Pass constant assignment by reference: Notice: Only variables should be passed by reference in %s on line 9 diff --git a/tests/lang/returnByReference.002.phpt b/tests/lang/returnByReference.002.phpt index 0880a8b7a5..67061048b3 100644 --- a/tests/lang/returnByReference.002.phpt +++ b/tests/lang/returnByReference.002.phpt @@ -23,7 +23,6 @@ $b = "changed"; var_dump($a); //expecting "changed" ?> --EXPECTF-- - Notice: Only variables should be assigned by reference in %s on line 13 string(8) "original" string(7) "changed" diff --git a/tests/lang/returnByReference.003.phpt b/tests/lang/returnByReference.003.phpt index b14ae69549..44b5f7825b 100644 --- a/tests/lang/returnByReference.003.phpt +++ b/tests/lang/returnByReference.003.phpt @@ -37,7 +37,6 @@ var_dump($a, $b); ?> --EXPECTF-- - ---> 1. Trying to assign by reference the return value of a function that returns by value: Notice: Only variables should be assigned by reference in %s on line 17 diff --git a/tests/lang/returnByReference.004.phpt b/tests/lang/returnByReference.004.phpt index 1b01bafae6..63d4c709a3 100644 --- a/tests/lang/returnByReference.004.phpt +++ b/tests/lang/returnByReference.004.phpt @@ -39,7 +39,6 @@ var_dump($a, $b); ?> --EXPECTF-- - ---> 1. Trying to assign by reference the return value of a function that returns by value: Notice: Only variables should be assigned by reference in %s on line 19 diff --git a/tests/lang/returnByReference.005.phpt b/tests/lang/returnByReference.005.phpt index d446553973..1d7a390b15 100644 --- a/tests/lang/returnByReference.005.phpt +++ b/tests/lang/returnByReference.005.phpt @@ -40,7 +40,6 @@ var_dump($a, $b); ?> --EXPECTF-- - ---> 1. Trying to assign by reference the return value of a function that returns by value: Notice: Only variables should be assigned by reference in %s on line 20 diff --git a/tests/lang/returnByReference.007.phpt b/tests/lang/returnByReference.007.phpt index 1da209e6b3..8cc32b51f1 100644 --- a/tests/lang/returnByReference.007.phpt +++ b/tests/lang/returnByReference.007.phpt @@ -45,7 +45,6 @@ var_dump($a, $b); ?> --EXPECTF-- - ---> 1. Via a return by ref function call, assign by reference the return value of a function that returns by value: Notice: Only variable references should be returned by reference in %s on line 16 diff --git a/tests/lang/returnByReference.008.phpt b/tests/lang/returnByReference.008.phpt index 2e27208cb6..228ed8a7a7 100644 --- a/tests/lang/returnByReference.008.phpt +++ b/tests/lang/returnByReference.008.phpt @@ -46,7 +46,6 @@ var_dump($a, $b); ?> --EXPECTF-- - ---> 1. Via a return by ref function call, assign by reference the return value of a function that returns by value: Notice: Only variable references should be returned by reference in %s on line 16 diff --git a/tests/lang/returnByReference.009.phpt b/tests/lang/returnByReference.009.phpt index 0d51a22158..68662f53eb 100644 --- a/tests/lang/returnByReference.009.phpt +++ b/tests/lang/returnByReference.009.phpt @@ -28,7 +28,6 @@ var_dump (testReturnVarByRef()); echo "\n---> 2. Return a value by reference -> Warning:\n"; var_dump (testReturnValByRef()); - --EXPECTF-- ---> 1. Return a variable by reference -> No warning: int(1) diff --git a/tests/lang/static_basic_001.phpt b/tests/lang/static_basic_001.phpt index 47da74d8ce..302d2cf131 100644 --- a/tests/lang/static_basic_001.phpt +++ b/tests/lang/static_basic_001.phpt @@ -46,7 +46,6 @@ for ($i=0; $i<3; $i++) { } ?> --EXPECT-- - Same variable used as static and non static. --------- 0 diff --git a/tests/lang/string/unicode_escape.phpt b/tests/lang/string/unicode_escape.phpt index 0e9ac2cfc5..1092cee533 100644 --- a/tests/lang/string/unicode_escape.phpt +++ b/tests/lang/string/unicode_escape.phpt @@ -9,8 +9,6 @@ var_dump("\u{ff}"); // case-insensitive var_dump("\u{2603}"); // Unicode snowman var_dump("\u{1F602}"); // FACE WITH TEARS OF JOY emoji var_dump("\u{0000001F602}"); // Leading zeroes permitted - - --EXPECT-- string(1) "a" string(2) "ΓΏ" diff --git a/tests/lang/string/unicode_escape_legacy.phpt b/tests/lang/string/unicode_escape_legacy.phpt index 7b4bc299ea..f17d160dd1 100644 --- a/tests/lang/string/unicode_escape_legacy.phpt +++ b/tests/lang/string/unicode_escape_legacy.phpt @@ -7,7 +7,6 @@ Tolerated Unicode escape sequences: Legacy compatibility var_dump("\u"); var_dump("\u202e"); var_dump("\ufoobar"); - --EXPECTF-- string(2) "\u" string(6) "\u202e" diff --git a/tests/lang/string/unicode_escape_surrogates.phpt b/tests/lang/string/unicode_escape_surrogates.phpt index cbd78a2496..09e525ad12 100644 --- a/tests/lang/string/unicode_escape_surrogates.phpt +++ b/tests/lang/string/unicode_escape_surrogates.phpt @@ -9,7 +9,6 @@ Valid Unicode escape sequences: Surrogate halves var_dump(bin2hex("\u{D801}")); var_dump(bin2hex("\u{DC00}")); var_dump(bin2hex("\u{D801}\u{DC00}")); // CESU-8 encoding of U+10400 - --EXPECT-- string(6) "eda081" string(6) "edb080" diff --git a/tests/lang/string_decimals_001.phpt b/tests/lang/string_decimals_001.phpt index daa063bb26..5ba3c974fa 100644 --- a/tests/lang/string_decimals_001.phpt +++ b/tests/lang/string_decimals_001.phpt @@ -17,7 +17,6 @@ test("9.9.9"); ?> ===DONE=== --EXPECTF-- - --> Testing ..9: int(0) float(0) diff --git a/tests/lang/type_hints_001.phpt b/tests/lang/type_hints_001.phpt index 65f1dc398d..f82a53fe75 100644 --- a/tests/lang/type_hints_001.phpt +++ b/tests/lang/type_hints_001.phpt @@ -20,7 +20,6 @@ type_hint_foo($bar); ?> --EXPECTF-- - Fatal error: Uncaught TypeError: Argument 1 passed to type_hint_foo() must be an instance of Foo, instance of Bar given, called in %s on line 16 and defined in %s:9 Stack trace: #0 %s(%d): type_hint_foo(Object(Bar)) diff --git a/tests/lang/type_hints_002.phpt b/tests/lang/type_hints_002.phpt index bdd5b4e93e..cd348ebfb2 100644 --- a/tests/lang/type_hints_002.phpt +++ b/tests/lang/type_hints_002.phpt @@ -23,4 +23,3 @@ NULL - NULL - - diff --git a/tests/lang/type_hints_003.phpt b/tests/lang/type_hints_003.phpt index d2c48a3ad7..f6b04dabff 100644 --- a/tests/lang/type_hints_003.phpt +++ b/tests/lang/type_hints_003.phpt @@ -8,5 +8,4 @@ class T { } ?> --EXPECTF-- - Fatal error: Default value for parameters with a class type can only be NULL in %stype_hints_003.php on line 3 |