diff options
author | Remi Collet <remi@php.net> | 2019-06-20 11:52:54 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2019-06-20 11:52:54 +0200 |
commit | 714cd7ff3e24e3ce38e6c6fbd56e95241698df59 (patch) | |
tree | 5c628a398796474ec573a9a711912b371b2374a7 | |
parent | a2d0899e7426f5e324556a6ffe2af226f962367e (diff) | |
parent | 522cf62906d6a931ccee419f6a02778962da17d4 (diff) | |
download | php-git-714cd7ff3e24e3ce38e6c6fbd56e95241698df59.tar.gz |
Merge branch 'PHP-7.4'
* PHP-7.4:
improve test clean section
move NEWS entry
-rw-r--r-- | ext/opcache/tests/bug78185.phpt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/opcache/tests/bug78185.phpt b/ext/opcache/tests/bug78185.phpt index cd96cf848c..4be8431641 100644 --- a/ext/opcache/tests/bug78185.phpt +++ b/ext/opcache/tests/bug78185.phpt @@ -15,6 +15,11 @@ foreach (glob(__DIR__ . '/*/' . __DIR__ . '/*.bin') as $p) { <?php foreach (glob(__DIR__ . '/*/' . __DIR__ . '/*.bin') as $p) { unlink($p); + $p = dirname($p); + while(strlen($p) > strlen(__DIR__)) { + rmdir($p); + $p = dirname($p); + } } ?> --EXPECTF-- |