summaryrefslogtreecommitdiff
path: root/Zend/tests
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-10-14 18:03:31 +0200
committerPeter Kokot <peterkokot@gmail.com>2018-10-14 19:46:15 +0200
commitd7a3edd45db8d91ddf09cba7c594c63e63f62709 (patch)
treeef4fe3e4794260b362dad72d3542fdbef0169b8e /Zend/tests
parentb0708fa2e7b31f1fbd9539486a35d33643e62461 (diff)
downloadphp-git-d7a3edd45db8d91ddf09cba7c594c63e63f62709.tar.gz
Trim trailing whitespace in *.phpt
Diffstat (limited to 'Zend/tests')
-rw-r--r--Zend/tests/019.phpt36
-rw-r--r--Zend/tests/add_003.phpt2
-rw-r--r--Zend/tests/add_007.phpt2
-rw-r--r--Zend/tests/bug24635.phpt2
-rw-r--r--Zend/tests/bug26802.phpt4
-rw-r--r--Zend/tests/bug39438.phpt6
-rw-r--r--Zend/tests/bug43450.phpt2
-rw-r--r--Zend/tests/bug45742.phpt2
-rw-r--r--Zend/tests/bug46196.phpt2
-rw-r--r--Zend/tests/bug48228.phpt2
-rw-r--r--Zend/tests/bug63462.phpt4
-rw-r--r--Zend/tests/bug70785.phpt2
-rw-r--r--Zend/tests/bug70805.phpt2
-rw-r--r--Zend/tests/bug70914.phpt2
-rw-r--r--Zend/tests/bug72543.phpt2
-rw-r--r--Zend/tests/cast_to_array.phptbin986 -> 985 bytes
-rw-r--r--Zend/tests/cast_to_double.phpt2
-rw-r--r--Zend/tests/cast_to_object.phptbin1112 -> 1110 bytes
-rw-r--r--Zend/tests/cast_to_string.phptbin721 -> 719 bytes
-rw-r--r--Zend/tests/class_constants_004.phpt6
-rw-r--r--Zend/tests/debug_backtrace_with_include_and_this.phpt2
-rw-r--r--Zend/tests/dereference_001.phpt2
-rw-r--r--Zend/tests/errmsg_017.phpt2
-rw-r--r--Zend/tests/errmsg_018.phpt2
-rw-r--r--Zend/tests/errmsg_019.phpt2
-rw-r--r--Zend/tests/flexible-heredoc-nowdoc.phpt2
-rw-r--r--Zend/tests/foreach_shadowed_property.phpt2
-rw-r--r--Zend/tests/function_exists_basic.phpt2
-rw-r--r--Zend/tests/function_exists_error.phpt2
-rw-r--r--Zend/tests/function_exists_variation1.phpt6
-rw-r--r--Zend/tests/get_defined_functions_basic.phpt2
-rw-r--r--Zend/tests/get_defined_functions_error.phpt5
-rw-r--r--Zend/tests/globals_001.phpt2
-rw-r--r--Zend/tests/globals_004.phpt2
-rw-r--r--Zend/tests/inter_01.phpt2
-rw-r--r--Zend/tests/lsb_015.phpt2
-rw-r--r--Zend/tests/lsb_019.phpt2
-rw-r--r--Zend/tests/lsb_020.phpt2
-rw-r--r--Zend/tests/return_types/030.phpt2
-rw-r--r--Zend/tests/settype_array.phptbin1006 -> 1005 bytes
-rw-r--r--Zend/tests/settype_object.phptbin1132 -> 1130 bytes
-rw-r--r--Zend/tests/settype_resource.phptbin1581 -> 1579 bytes
-rw-r--r--Zend/tests/settype_string.phptbin747 -> 745 bytes
-rw-r--r--Zend/tests/traits/bugs/abstract-methods04.phpt2
-rw-r--r--Zend/tests/traits/flattening002.phpt2
-rw-r--r--Zend/tests/try/try_catch_finally_007.phpt2
46 files changed, 65 insertions, 66 deletions
diff --git a/Zend/tests/019.phpt b/Zend/tests/019.phpt
index 7323f5de2f..2b1c17bd1e 100644
--- a/Zend/tests/019.phpt
+++ b/Zend/tests/019.phpt
@@ -60,7 +60,7 @@ foreach ($scalar_variables as $scalar_var) {
// destroy the variable using unset
unset( $scalar_var );
- // dump and see if its destroyed, expcted: NULL
+ // dump and see if its destroyed, expcted: NULL
var_dump( $scalar_var );
// check using isset to see if unset, expected: bool(false)
@@ -106,11 +106,11 @@ foreach ($array_variables as $array_var) {
var_dump( isset($array_var['non_existent'], $array_var['none']) );
var_dump( empty($array_var['non_existent']) );
- // testing empty and isset on arrays
+ // testing empty and isset on arrays
var_dump( empty($array_var) ); // expecting bool(false), except: array(), which is considered empty
var_dump( isset($array_var) ); // expecting bool(true), except: array(), which is not set
- // get the keys of the $array_var
+ // get the keys of the $array_var
$keys = array_keys($array_var);
// unset each element in the array and see the working of unset, isset & empty
$inner_loop_counter = 1;
@@ -130,7 +130,7 @@ foreach ($array_variables as $array_var) {
// calling empty, expected bool(true)
var_dump( empty($array_var[$key_val]) );
- // dump the array to see that that array did not get modified
+ // dump the array to see that that array did not get modified
// because of using isset, empty and unset on its element
var_dump($array_var);
}
@@ -184,11 +184,11 @@ foreach ($resources as $resource) {
// now the isset() with both the args as unset
var_dump( isset($resource, $temp_var) ); // expected: bool(false);
- // dump the resource to see if there any effect on it
+ // dump the resource to see if there any effect on it
var_dump($resource);
}
// unset and dump the array containing all the resources to see that
-// unset works correctly
+// unset works correctly
unset($resources);
var_dump($resources);
var_dump( isset($resources) ); //expected: bool(false)
@@ -215,8 +215,8 @@ class Point
}
$point1 = new Point(30,40);
-// use unset/empty/isset to check the object
-var_dump($point1); // dump the object
+// use unset/empty/isset to check the object
+var_dump($point1); // dump the object
// check the object and member that is not set
var_dump( isset($point1) ); // expected: bool(true)
@@ -229,7 +229,7 @@ $point1->setLable("Point1");
var_dump( isset($point1->$lable) ); //expected: bool(true)
var_dump( empty($point1->$lable) ); //expected: bool(false)
-// dump the object to see that obj was not harmed
+// dump the object to see that obj was not harmed
// because of the usage of the isset & empty
var_dump($point1);
@@ -270,11 +270,11 @@ var_dump($point2);
/* testing variation in operation for isset(), empty() & unset().
Note: Most of the variation for function unset() is testing by a
- set of testcases named "Zend/tests/unset_cv??.phpt", only
+ set of testcases named "Zend/tests/unset_cv??.phpt", only
variation not tested are attempted here */
echo "\n*** Testing possible variation in operation for isset(), empty() & unset() ***\n";
-/* unset() variation1: checking unset on static variable inside a function.
+/* unset() variation1: checking unset on static variable inside a function.
* unset() destroys the variable only in the context of the rest of a function
* Following calls will restore the previous value of a variable.
*/
@@ -286,14 +286,14 @@ function test_unset1() {
$static_var ++;
echo "value of static_var before unset: $static_var\n";
- // check using isset and empty
+ // check using isset and empty
var_dump( isset($static_var) );
var_dump( empty($static_var) );
// unset the static var
unset($static_var);
echo "value of static_var after unset: $static_var\n";
- // check using isset and empty
+ // check using isset and empty
var_dump( isset($static_var) );
var_dump( empty($static_var) );
@@ -308,10 +308,10 @@ test_unset1();
echo "\n** Testing unset() variation 2: unset on a variable passed by ref. inside of a function **\n";
-/* unset() variation2: Pass by reference
- * If a variable that is PASSED BY REFERENCE is unset() inside of a function,
+/* unset() variation2: Pass by reference
+ * If a variable that is PASSED BY REFERENCE is unset() inside of a function,
* only the local variable is destroyed. The variable in the calling environment
- * will retain the same value as before unset() was called.
+ * will retain the same value as before unset() was called.
*/
function test_unset2( &$ref_val ) {
// unset the variable passed
@@ -341,14 +341,14 @@ $global_var = 10;
function test_unset3() {
global $global_var;
- // check the $global_var using isset and empty
+ // check the $global_var using isset and empty
var_dump( isset($global_var) );
var_dump( empty($global_var) );
// unset the global var
unset($global_var);
- // check the $global_var using isset and empty
+ // check the $global_var using isset and empty
var_dump( isset($global_var) );
var_dump( empty($global_var) );
}
diff --git a/Zend/tests/add_003.phpt b/Zend/tests/add_003.phpt
index d3363f80f4..f0066ee3cd 100644
--- a/Zend/tests/add_003.phpt
+++ b/Zend/tests/add_003.phpt
@@ -1,5 +1,5 @@
--TEST--
-adding arrays to objects
+adding arrays to objects
--FILE--
<?php
diff --git a/Zend/tests/add_007.phpt b/Zend/tests/add_007.phpt
index 9c8bbc8ca2..6d9af8a9f5 100644
--- a/Zend/tests/add_007.phpt
+++ b/Zend/tests/add_007.phpt
@@ -1,5 +1,5 @@
--TEST--
-adding strings to arrays
+adding strings to arrays
--FILE--
<?php
diff --git a/Zend/tests/bug24635.phpt b/Zend/tests/bug24635.phpt
index cd733f83f2..7235859d3a 100644
--- a/Zend/tests/bug24635.phpt
+++ b/Zend/tests/bug24635.phpt
@@ -15,7 +15,7 @@ class SectionClass {
$this->Comment = $comment;
}
function __destruct() {
- out($this->Comment); // this line doesn't crash PHP
+ out($this->Comment); // this line doesn't crash PHP
out("\n<!-- End Section: " . $this->Comment . "-->"); // this line
}
}
diff --git a/Zend/tests/bug26802.phpt b/Zend/tests/bug26802.phpt
index 833f81bdb3..0ab4760d48 100644
--- a/Zend/tests/bug26802.phpt
+++ b/Zend/tests/bug26802.phpt
@@ -21,8 +21,8 @@ class foo
}
}
-/* The following is a BC break with PHP 4 where it would
- * call foo::fail. In PHP 5 we first evaluate static class
+/* The following is a BC break with PHP 4 where it would
+ * call foo::fail. In PHP 5 we first evaluate static class
* properties and then do the function call.
*/
$method = 'foo_func';
diff --git a/Zend/tests/bug39438.phpt b/Zend/tests/bug39438.phpt
index ef985afd23..d10e6d9ab7 100644
--- a/Zend/tests/bug39438.phpt
+++ b/Zend/tests/bug39438.phpt
@@ -22,9 +22,9 @@ $test2=array(
'typo3' =>'',
'php' =>'',
'cms' => ''
- ),
- 'conflicts' => array('' =>'')
- ),
+ ),
+ 'conflicts' => array('' =>'')
+ ),
'authorname' => 'Mirko Balluff',
'authoremail' => 'balluff@amt1.de',
'ownerusername' => 'amt1',
diff --git a/Zend/tests/bug43450.phpt b/Zend/tests/bug43450.phpt
index 549dfc91b9..05f2f7cbf6 100644
--- a/Zend/tests/bug43450.phpt
+++ b/Zend/tests/bug43450.phpt
@@ -5,7 +5,7 @@ opcache.enable_cli=0
--FILE--
<?php
-class Foo
+class Foo
{
public function __toString()
{
diff --git a/Zend/tests/bug45742.phpt b/Zend/tests/bug45742.phpt
index bde690b39a..1c28c35890 100644
--- a/Zend/tests/bug45742.phpt
+++ b/Zend/tests/bug45742.phpt
@@ -1,5 +1,5 @@
--TEST--
-Bug #45742 Wrong class array inpretetion using constant indexes
+Bug #45742 Wrong class array inpretetion using constant indexes
--FILE--
<?php
class Constants {
diff --git a/Zend/tests/bug46196.phpt b/Zend/tests/bug46196.phpt
index d8ecc721ad..7a6a753d87 100644
--- a/Zend/tests/bug46196.phpt
+++ b/Zend/tests/bug46196.phpt
@@ -5,7 +5,7 @@ Olivier Doucet
--FILE--
<?php
/* Prototype : void restore_error_handler(void)
- * Description: Restores the previously defined error handler function
+ * Description: Restores the previously defined error handler function
* Source code: Zend/zend_builtin_functions.c
* Alias to functions:
*/
diff --git a/Zend/tests/bug48228.phpt b/Zend/tests/bug48228.phpt
index 1f0d0a54a1..9be02aa4d8 100644
--- a/Zend/tests/bug48228.phpt
+++ b/Zend/tests/bug48228.phpt
@@ -7,7 +7,7 @@ function do_throw() {
throw new Exception();
}
-class aa
+class aa
{
function check()
{
diff --git a/Zend/tests/bug63462.phpt b/Zend/tests/bug63462.phpt
index e936a6fa69..6e60d12d43 100644
--- a/Zend/tests/bug63462.phpt
+++ b/Zend/tests/bug63462.phpt
@@ -11,8 +11,8 @@ class Test {
public function __construct() {
unset(
- $this->publicProperty,
- $this->protectedProperty,
+ $this->publicProperty,
+ $this->protectedProperty,
$this->privateProperty
);
}
diff --git a/Zend/tests/bug70785.phpt b/Zend/tests/bug70785.phpt
index 3c427ba069..f48bc3cdb9 100644
--- a/Zend/tests/bug70785.phpt
+++ b/Zend/tests/bug70785.phpt
@@ -8,7 +8,7 @@ set_error_handler(function($no, $msg) {
});
try {
- if ($a === null) { // ZEND_VM_SMART_BRANCH
+ if ($a === null) { // ZEND_VM_SMART_BRANCH
undefined_function('Null');
}
} catch (Exception $e) {
diff --git a/Zend/tests/bug70805.phpt b/Zend/tests/bug70805.phpt
index ec835bcd1b..1177233184 100644
--- a/Zend/tests/bug70805.phpt
+++ b/Zend/tests/bug70805.phpt
@@ -37,7 +37,7 @@ $t[] = &$t;
unset($t); // This is used to trigger C::__destruct while doing gc_colloct_roots
$e = $a;
-unset($a); // This one can not be putted into roots buf because it's full, thus gc_colloct_roots will be called,
+unset($a); // This one can not be putted into roots buf because it's full, thus gc_colloct_roots will be called,
// but C::__destructor which is called in gc_colloct_roots will put $a into buf
// which will make $a be putted into gc roots buf twice
var_dump(gc_collect_cycles());
diff --git a/Zend/tests/bug70914.phpt b/Zend/tests/bug70914.phpt
index e5f5d7460e..0382076efb 100644
--- a/Zend/tests/bug70914.phpt
+++ b/Zend/tests/bug70914.phpt
@@ -1,5 +1,5 @@
--TEST--
-Bug #70914 zend_throw_or_error() format string vulnerability
+Bug #70914 zend_throw_or_error() format string vulnerability
--SKIPIF--
<?php
if (!extension_loaded("pdo_sqlite")) {
diff --git a/Zend/tests/bug72543.phpt b/Zend/tests/bug72543.phpt
index a826b1d6fb..7bde3aa95a 100644
--- a/Zend/tests/bug72543.phpt
+++ b/Zend/tests/bug72543.phpt
@@ -15,7 +15,7 @@ function change_copy($copy) {
$data = [
'a' => [
'b' => [],
- ],
+ ],
];
create_references($data);
diff --git a/Zend/tests/cast_to_array.phpt b/Zend/tests/cast_to_array.phpt
index 5e351052bb..12261c8e84 100644
--- a/Zend/tests/cast_to_array.phpt
+++ b/Zend/tests/cast_to_array.phpt
Binary files differ
diff --git a/Zend/tests/cast_to_double.phpt b/Zend/tests/cast_to_double.phpt
index 7776992bc8..d2ee8ca1e9 100644
--- a/Zend/tests/cast_to_double.phpt
+++ b/Zend/tests/cast_to_double.phpt
@@ -1,5 +1,5 @@
--TEST--
-casting different variables to double
+casting different variables to double
--INI--
precision=14
--FILE--
diff --git a/Zend/tests/cast_to_object.phpt b/Zend/tests/cast_to_object.phpt
index 04d68053e2..b7e5f219f6 100644
--- a/Zend/tests/cast_to_object.phpt
+++ b/Zend/tests/cast_to_object.phpt
Binary files differ
diff --git a/Zend/tests/cast_to_string.phpt b/Zend/tests/cast_to_string.phpt
index f8b57a22c5..b3d245f1ed 100644
--- a/Zend/tests/cast_to_string.phpt
+++ b/Zend/tests/cast_to_string.phpt
Binary files differ
diff --git a/Zend/tests/class_constants_004.phpt b/Zend/tests/class_constants_004.phpt
index 73a42ede7a..1ca49ebdf0 100644
--- a/Zend/tests/class_constants_004.phpt
+++ b/Zend/tests/class_constants_004.phpt
@@ -21,9 +21,9 @@ $const = __NAMESPACE__ .'\\foo'; // class
$const2 = __NAMESPACE__ .'\\Ifoo'; // interface
var_dump( foo,
- \foo\foo,
- namespace\foo,
- \foo\foo::foo,
+ \foo\foo,
+ namespace\foo,
+ \foo\foo::foo,
$const::foo,
\foo,
constant('foo'),
diff --git a/Zend/tests/debug_backtrace_with_include_and_this.phpt b/Zend/tests/debug_backtrace_with_include_and_this.phpt
index 695c8d2150..7cc868105a 100644
--- a/Zend/tests/debug_backtrace_with_include_and_this.phpt
+++ b/Zend/tests/debug_backtrace_with_include_and_this.phpt
@@ -1,5 +1,5 @@
--TEST--
-debug_backtrace segmentation fault with include and error handler
+debug_backtrace segmentation fault with include and error handler
--FILE--
<?php
class CLWrapper {
diff --git a/Zend/tests/dereference_001.phpt b/Zend/tests/dereference_001.phpt
index 0b301db619..7873d624aa 100644
--- a/Zend/tests/dereference_001.phpt
+++ b/Zend/tests/dereference_001.phpt
@@ -12,7 +12,7 @@ var_dump(a()[1][0]); // int(5)
function b() {
return array();
}
-var_dump(b()[0]); // Notice: Undefined offset: 0
+var_dump(b()[0]); // Notice: Undefined offset: 0
class foo {
public $y = 1;
diff --git a/Zend/tests/errmsg_017.phpt b/Zend/tests/errmsg_017.phpt
index 3ee18a5c40..ba55c1a2c5 100644
--- a/Zend/tests/errmsg_017.phpt
+++ b/Zend/tests/errmsg_017.phpt
@@ -1,5 +1,5 @@
--TEST--
-errmsg: __unset() must take exactly 1 argument
+errmsg: __unset() must take exactly 1 argument
--FILE--
<?php
diff --git a/Zend/tests/errmsg_018.phpt b/Zend/tests/errmsg_018.phpt
index fa10136b20..b803499e50 100644
--- a/Zend/tests/errmsg_018.phpt
+++ b/Zend/tests/errmsg_018.phpt
@@ -1,5 +1,5 @@
--TEST--
-errmsg: static abstract function
+errmsg: static abstract function
--FILE--
<?php
diff --git a/Zend/tests/errmsg_019.phpt b/Zend/tests/errmsg_019.phpt
index 1204379587..bb8ebff5ab 100644
--- a/Zend/tests/errmsg_019.phpt
+++ b/Zend/tests/errmsg_019.phpt
@@ -1,5 +1,5 @@
--TEST--
-errmsg: __destruct() cannot take arguments
+errmsg: __destruct() cannot take arguments
--FILE--
<?php
diff --git a/Zend/tests/flexible-heredoc-nowdoc.phpt b/Zend/tests/flexible-heredoc-nowdoc.phpt
index 175b9c6734..9f4e19a34b 100644
--- a/Zend/tests/flexible-heredoc-nowdoc.phpt
+++ b/Zend/tests/flexible-heredoc-nowdoc.phpt
@@ -15,7 +15,7 @@ var_dump(<<<END
// Insufficient indentation is fine if the line is whitespace-only
// Using eval() here to avoid issue with trailing whitespace trimming
var_dump(eval("return <<<END
-\x20
+\x20
\x20\x20END;"));
echo <<<'END'
diff --git a/Zend/tests/foreach_shadowed_property.phpt b/Zend/tests/foreach_shadowed_property.phpt
index 7fb20141f4..55d5821e77 100644
--- a/Zend/tests/foreach_shadowed_property.phpt
+++ b/Zend/tests/foreach_shadowed_property.phpt
@@ -2,7 +2,7 @@
Foreach over object with shadowed private property
--FILE--
<?php
-
+
class Test {
private $prop = "Test";
diff --git a/Zend/tests/function_exists_basic.phpt b/Zend/tests/function_exists_basic.phpt
index 995caf1ab4..5832231551 100644
--- a/Zend/tests/function_exists_basic.phpt
+++ b/Zend/tests/function_exists_basic.phpt
@@ -1,5 +1,5 @@
--TEST--
-function_exists function : basic functionality
+function_exists function : basic functionality
--FILE--
<?php
/*
diff --git a/Zend/tests/function_exists_error.phpt b/Zend/tests/function_exists_error.phpt
index 5b2f792773..8ce8a92885 100644
--- a/Zend/tests/function_exists_error.phpt
+++ b/Zend/tests/function_exists_error.phpt
@@ -1,5 +1,5 @@
--TEST--
-Test function_exists() function : error conditions
+Test function_exists() function : error conditions
--FILE--
<?php
/*
diff --git a/Zend/tests/function_exists_variation1.phpt b/Zend/tests/function_exists_variation1.phpt
index 16b05fc036..fc26f1e80e 100644
--- a/Zend/tests/function_exists_variation1.phpt
+++ b/Zend/tests/function_exists_variation1.phpt
@@ -3,10 +3,10 @@ Test function_exists() function : usage variations - test values for $str argume
--FILE--
<?php
-/*
+/*
* proto bool function_exists(string function_name)
* Function is implemented in Zend/zend_builtin_functions.c
-*/
+*/
echo "*** Testing function_exists() function: with unexpected inputs for 'str' argument ***\n";
@@ -18,7 +18,7 @@ unset($unset_var);
class sample {
public function __toString() {
return "sample object";
- }
+ }
}
//getting the resource
diff --git a/Zend/tests/get_defined_functions_basic.phpt b/Zend/tests/get_defined_functions_basic.phpt
index 55b497f45c..f782b90892 100644
--- a/Zend/tests/get_defined_functions_basic.phpt
+++ b/Zend/tests/get_defined_functions_basic.phpt
@@ -1,5 +1,5 @@
--TEST--
-get_defined_functions() function : basic functionality
+get_defined_functions() function : basic functionality
--FILE--
<?php
diff --git a/Zend/tests/get_defined_functions_error.phpt b/Zend/tests/get_defined_functions_error.phpt
index fadd804b99..1735446b2e 100644
--- a/Zend/tests/get_defined_functions_error.phpt
+++ b/Zend/tests/get_defined_functions_error.phpt
@@ -1,5 +1,5 @@
--TEST--
-Test get_defined_functions() function : error conditions
+Test get_defined_functions() function : error conditions
--FILE--
<?php
@@ -17,7 +17,7 @@ $extra_arg = 10;
$extra_arg2 = 20;
var_dump( get_defined_functions($extra_arg, $extra_arg2) );
-?>
+?>
===Done===
--EXPECTF--
*** Testing get_defined_functions() : error conditions ***
@@ -26,5 +26,4 @@ var_dump( get_defined_functions($extra_arg, $extra_arg2) );
Warning: get_defined_functions() expects at most 1 parameter, 2 given in %s on line %d
NULL
-
===Done===
diff --git a/Zend/tests/globals_001.phpt b/Zend/tests/globals_001.phpt
index 551ab7f5f5..9a9c5401fe 100644
--- a/Zend/tests/globals_001.phpt
+++ b/Zend/tests/globals_001.phpt
@@ -1,5 +1,5 @@
--TEST--
-globals in global scope
+globals in global scope
--INI--
variables_order="egpcs"
--FILE--
diff --git a/Zend/tests/globals_004.phpt b/Zend/tests/globals_004.phpt
index 123fbc80e5..6e21b7fbc0 100644
--- a/Zend/tests/globals_004.phpt
+++ b/Zend/tests/globals_004.phpt
@@ -1,5 +1,5 @@
--TEST--
-globals in local scope - 3
+globals in local scope - 3
--INI--
variables_order="egpcs"
--FILE--
diff --git a/Zend/tests/inter_01.phpt b/Zend/tests/inter_01.phpt
index f39d5a4181..71c50c2595 100644
--- a/Zend/tests/inter_01.phpt
+++ b/Zend/tests/inter_01.phpt
@@ -1,5 +1,5 @@
--TEST--
-Inherited constant from interface
+Inherited constant from interface
--FILE--
<?php
interface foo {
diff --git a/Zend/tests/lsb_015.phpt b/Zend/tests/lsb_015.phpt
index cdfa4113b9..5c40c13160 100644
--- a/Zend/tests/lsb_015.phpt
+++ b/Zend/tests/lsb_015.phpt
@@ -1,5 +1,5 @@
--TEST--
-ZE2 Late Static Binding with exceptions
+ZE2 Late Static Binding with exceptions
--FILE--
<?php
function foo() {
diff --git a/Zend/tests/lsb_019.phpt b/Zend/tests/lsb_019.phpt
index 12ef60dbd6..4073dac8d8 100644
--- a/Zend/tests/lsb_019.phpt
+++ b/Zend/tests/lsb_019.phpt
@@ -1,5 +1,5 @@
--TEST--
-ZE2 Late Static Binding properties and methods declared as protected and overridden as public.
+ZE2 Late Static Binding properties and methods declared as protected and overridden as public.
--FILE--
<?php
class TestClass {
diff --git a/Zend/tests/lsb_020.phpt b/Zend/tests/lsb_020.phpt
index e95ea53875..cc5b257c34 100644
--- a/Zend/tests/lsb_020.phpt
+++ b/Zend/tests/lsb_020.phpt
@@ -1,5 +1,5 @@
--TEST--
-ZE2 Late Static Binding properties and methods declared as public and overridden as public.
+ZE2 Late Static Binding properties and methods declared as public and overridden as public.
--FILE--
<?php
class TestClass {
diff --git a/Zend/tests/return_types/030.phpt b/Zend/tests/return_types/030.phpt
index 1bb5512c85..fc41fa6ee6 100644
--- a/Zend/tests/return_types/030.phpt
+++ b/Zend/tests/return_types/030.phpt
@@ -1,5 +1,5 @@
--TEST--
-Nullable return value
+Nullable return value
--FILE--
<?php
function foo($x) : ?array {
diff --git a/Zend/tests/settype_array.phpt b/Zend/tests/settype_array.phpt
index 5da023205e..562d349099 100644
--- a/Zend/tests/settype_array.phpt
+++ b/Zend/tests/settype_array.phpt
Binary files differ
diff --git a/Zend/tests/settype_object.phpt b/Zend/tests/settype_object.phpt
index 7f9e5bc64b..be2694c312 100644
--- a/Zend/tests/settype_object.phpt
+++ b/Zend/tests/settype_object.phpt
Binary files differ
diff --git a/Zend/tests/settype_resource.phpt b/Zend/tests/settype_resource.phpt
index cc8cde34fd..a6721cb757 100644
--- a/Zend/tests/settype_resource.phpt
+++ b/Zend/tests/settype_resource.phpt
Binary files differ
diff --git a/Zend/tests/settype_string.phpt b/Zend/tests/settype_string.phpt
index d3beb54cb7..3a2d59ecae 100644
--- a/Zend/tests/settype_string.phpt
+++ b/Zend/tests/settype_string.phpt
Binary files differ
diff --git a/Zend/tests/traits/bugs/abstract-methods04.phpt b/Zend/tests/traits/bugs/abstract-methods04.phpt
index 20ce8ab433..5cfc7d7d51 100644
--- a/Zend/tests/traits/bugs/abstract-methods04.phpt
+++ b/Zend/tests/traits/bugs/abstract-methods04.phpt
@@ -1,5 +1,5 @@
--TEST--
-Abstract Trait Methods should behave like common abstract methods and
+Abstract Trait Methods should behave like common abstract methods and
implementstion may be provided by other traits. Sorting order shouldn't influence result.
--FILE--
<?php
diff --git a/Zend/tests/traits/flattening002.phpt b/Zend/tests/traits/flattening002.phpt
index 72df973983..abae314d1f 100644
--- a/Zend/tests/traits/flattening002.phpt
+++ b/Zend/tests/traits/flattening002.phpt
@@ -1,5 +1,5 @@
--TEST--
-parent:: works like in a method defined without traits.
+parent:: works like in a method defined without traits.
--FILE--
<?php
error_reporting(E_ALL);
diff --git a/Zend/tests/try/try_catch_finally_007.phpt b/Zend/tests/try/try_catch_finally_007.phpt
index 224d9d9938..7c2d5ea125 100644
--- a/Zend/tests/try/try_catch_finally_007.phpt
+++ b/Zend/tests/try/try_catch_finally_007.phpt
@@ -19,7 +19,7 @@ function foo($ret = FALSE) {
}
} catch (Exception $e) {
goto local;
-local:
+local:
var_dump("catched");
if ($ret) return "return";
} finally {