diff --git a/ext/spl/tests/arrayObject_getIteratorClass_basic1.phpt b/ext/spl/tests/arrayObject_getIteratorClass_basic1.phpt index a7494930075..e6e950c628d 100644 --- a/ext/spl/tests/arrayObject_getIteratorClass_basic1.phpt +++ b/ext/spl/tests/arrayObject_getIteratorClass_basic1.phpt @@ -6,36 +6,36 @@ class MyIterator extends ArrayIterator { function __construct() { $args = func_get_args(); - echo " In " . __METHOD__ . "(" . implode($args, ',') . ")\n"; + echo " In " . __METHOD__ . "(" . implode(',', $args) . ")\n"; } function rewind() { $args = func_get_args(); - echo " In " . __METHOD__ . "(" . implode($args, ',') . ")\n"; + echo " In " . __METHOD__ . "(" . implode(',', $args) . ")\n"; return parent::rewind(); } function valid() { $args = func_get_args(); - echo " In " . __METHOD__ . "(" . implode($args, ',') . ")\n"; + echo " In " . __METHOD__ . "(" . implode(',', $args) . ")\n"; return parent::valid(); } function current() { $args = func_get_args(); - echo " In " . __METHOD__ . "(" . implode($args, ',') . ")\n"; + echo " In " . __METHOD__ . "(" . implode(',', $args) . ")\n"; return parent::current(); } function next() { $args = func_get_args(); - echo " In " . __METHOD__ . "(" . implode($args, ',') . ")\n"; + echo " In " . __METHOD__ . "(" . implode(',', $args) . ")\n"; return parent::next(); } function key() { $args = func_get_args(); - echo " In " . __METHOD__ . "(" . implode($args, ',') . ")\n"; + echo " In " . __METHOD__ . "(" . implode(',', $args) . ")\n"; return parent::key(); } } diff --git a/ext/spl/tests/arrayObject_magicMethods5.phpt b/ext/spl/tests/arrayObject_magicMethods5.phpt index a3c0581bc39..6d2ced3a719 100644 --- a/ext/spl/tests/arrayObject_magicMethods5.phpt +++ b/ext/spl/tests/arrayObject_magicMethods5.phpt @@ -16,19 +16,19 @@ class UsesMagic extends ArrayObject { function __get($name) { $args = func_get_args(); - echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n"; + echo "In " . __METHOD__ . "(" . implode(',', $args) . ")\n"; } function __set($name, $value) { $args = func_get_args(); - echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n"; + echo "In " . __METHOD__ . "(" . implode(',', $args) . ")\n"; } function __isset($name) { $args = func_get_args(); - echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n"; + echo "In " . __METHOD__ . "(" . implode(',', $args) . ")\n"; } function __unset($name) { $args = func_get_args(); - echo "In " . __METHOD__ . "(" . implode($args, ',') . ")\n"; + echo "In " . __METHOD__ . "(" . implode(',', $args) . ")\n"; } } diff --git a/ext/standard/tests/file/file_get_contents_variation1.phpt b/ext/standard/tests/file/file_get_contents_variation1.phpt index 12bfd325ae7..eb502e05277 100644 --- a/ext/standard/tests/file/file_get_contents_variation1.phpt +++ b/ext/standard/tests/file/file_get_contents_variation1.phpt @@ -28,7 +28,6 @@ $newpath = create_include_path(); set_include_path($newpath); runtest(); teardown_include_path(); -restore_include_path(); chdir(".."); rmdir($thisTestDir); diff --git a/ext/standard/tests/file/file_get_contents_variation2.phpt b/ext/standard/tests/file/file_get_contents_variation2.phpt index c1f07d920fb..8c24246aaac 100644 --- a/ext/standard/tests/file/file_get_contents_variation2.phpt +++ b/ext/standard/tests/file/file_get_contents_variation2.phpt @@ -29,7 +29,6 @@ $newpath = create_include_path(); set_include_path($newpath); runtest(); teardown_include_path(); -restore_include_path(); chdir(".."); rmdir($thisTestDir); diff --git a/ext/standard/tests/file/file_put_contents_variation4.phpt b/ext/standard/tests/file/file_put_contents_variation4.phpt index 339e9b73a7c..c7df0194ff0 100644 --- a/ext/standard/tests/file/file_put_contents_variation4.phpt +++ b/ext/standard/tests/file/file_put_contents_variation4.phpt @@ -28,7 +28,6 @@ set_include_path($newpath); runtest(); teardown_include_path(); -restore_include_path(); chdir(".."); rmdir($thisTestDir); diff --git a/ext/standard/tests/file/file_put_contents_variation6.phpt b/ext/standard/tests/file/file_put_contents_variation6.phpt index 7f963a01fe4..85f2aad3632 100644 --- a/ext/standard/tests/file/file_put_contents_variation6.phpt +++ b/ext/standard/tests/file/file_put_contents_variation6.phpt @@ -29,7 +29,6 @@ set_include_path($newpath); runtest(); teardown_include_path(); -restore_include_path(); chdir(".."); rmdir($thisTestDir); diff --git a/ext/standard/tests/file/fopen_variation12.phpt b/ext/standard/tests/file/fopen_variation12.phpt index 91d482276af..2f79be1b63f 100644 --- a/ext/standard/tests/file/fopen_variation12.phpt +++ b/ext/standard/tests/file/fopen_variation12.phpt @@ -12,7 +12,6 @@ Dave Kelsey set_include_path("rubbish"); testme(); -restore_include_path(); function testme() { diff --git a/ext/standard/tests/file/fopen_variation13.phpt b/ext/standard/tests/file/fopen_variation13.phpt index 76cf084029b..4d613a91454 100644 --- a/ext/standard/tests/file/fopen_variation13.phpt +++ b/ext/standard/tests/file/fopen_variation13.phpt @@ -21,7 +21,6 @@ set_include_path($newpath); runtest(); teardown_include_path(); -restore_include_path(); function runtest() { diff --git a/ext/standard/tests/file/fopen_variation16.phpt b/ext/standard/tests/file/fopen_variation16.phpt index 023586c3968..5888688fa89 100644 --- a/ext/standard/tests/file/fopen_variation16.phpt +++ b/ext/standard/tests/file/fopen_variation16.phpt @@ -25,7 +25,6 @@ set_include_path($newpath); runtest(); teardown_include_path(); -restore_include_path(); chdir(".."); rmdir($thisTestDir); diff --git a/ext/standard/tests/file/fopen_variation17.phpt b/ext/standard/tests/file/fopen_variation17.phpt index 429650564bc..5d639e8236c 100644 --- a/ext/standard/tests/file/fopen_variation17.phpt +++ b/ext/standard/tests/file/fopen_variation17.phpt @@ -25,7 +25,6 @@ set_include_path($newpath); runtest(); teardown_include_path(); -restore_include_path(); chdir(".."); rmdir($thisTestDir); diff --git a/ext/standard/tests/file/fopen_variation5.phpt b/ext/standard/tests/file/fopen_variation5.phpt index b5c7edbfbb1..a3f5c1d3be9 100644 --- a/ext/standard/tests/file/fopen_variation5.phpt +++ b/ext/standard/tests/file/fopen_variation5.phpt @@ -45,7 +45,6 @@ $modes = array("r", "r+", "rt"); foreach($modes as $mode) { test_fopen($mode); } -restore_include_path(); // remove the directory structure chdir($baseDir); diff --git a/ext/standard/tests/file/fopen_variation7.phpt b/ext/standard/tests/file/fopen_variation7.phpt index 9cb40a00198..531b27e0bc0 100644 --- a/ext/standard/tests/file/fopen_variation7.phpt +++ b/ext/standard/tests/file/fopen_variation7.phpt @@ -24,7 +24,6 @@ set_include_path($newpath); runtest(); teardown_include_path(); -restore_include_path(); chdir(".."); rmdir($thisTestDir); diff --git a/ext/standard/tests/file/fopen_variation8.phpt b/ext/standard/tests/file/fopen_variation8.phpt index 7e02aa8efe0..36471911289 100644 --- a/ext/standard/tests/file/fopen_variation8.phpt +++ b/ext/standard/tests/file/fopen_variation8.phpt @@ -45,7 +45,6 @@ $modes = array("r", "r+", "rt"); foreach($modes as $mode) { test_fopen($mode); } -restore_include_path(); // remove the directory structure chdir($baseDir); diff --git a/ext/standard/tests/file/fopen_variation9.phpt b/ext/standard/tests/file/fopen_variation9.phpt index bee941eb945..5479ddcf2d2 100644 --- a/ext/standard/tests/file/fopen_variation9.phpt +++ b/ext/standard/tests/file/fopen_variation9.phpt @@ -25,7 +25,6 @@ set_include_path($newpath); runtest(); teardown_relative_path(); -restore_include_path(); chdir(".."); rmdir($thisTestDir); diff --git a/ext/standard/tests/file/readfile_variation6.phpt b/ext/standard/tests/file/readfile_variation6.phpt index dca6f4df673..38e0f239586 100644 --- a/ext/standard/tests/file/readfile_variation6.phpt +++ b/ext/standard/tests/file/readfile_variation6.phpt @@ -27,7 +27,6 @@ $newpath = create_include_path(); set_include_path($newpath); runtest(); teardown_include_path(); -restore_include_path(); chdir(".."); rmdir($thisTestDir); diff --git a/ext/standard/tests/file/readfile_variation7.phpt b/ext/standard/tests/file/readfile_variation7.phpt index 601453573e2..955d77bd275 100644 --- a/ext/standard/tests/file/readfile_variation7.phpt +++ b/ext/standard/tests/file/readfile_variation7.phpt @@ -27,7 +27,6 @@ $newpath = create_include_path(); set_include_path($newpath); runtest(); teardown_include_path(); -restore_include_path(); chdir(".."); rmdir($thisTestDir); diff --git a/ext/standard/tests/http/bug60570.phpt b/ext/standard/tests/http/bug60570.phpt index 2a2781ec28b..5996df369a0 100644 --- a/ext/standard/tests/http/bug60570.phpt +++ b/ext/standard/tests/http/bug60570.phpt @@ -4,7 +4,6 @@ Bug #60570 (Stream context leaks when http request fails) --INI-- allow_url_fopen=1 -allow_url_include=1 --FILE-- --INI-- allow_url_fopen=1 -allow_url_include=1 --FILE-- --INI-- allow_url_fopen=1 -allow_url_include=1 --FILE-- --INI-- allow_url_fopen=1 -allow_url_include=1 --FILE-- --INI-- allow_url_fopen=1 -allow_url_include=1 --FILE-- --INI-- allow_url_fopen=1 -allow_url_include=1 --FILE-- --INI-- allow_url_fopen=1 -allow_url_include=1 --FILE--