mirror of
https://github.com/php/php-src.git
synced 2026-03-27 01:32:22 +01:00
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2: improve test clean section
This commit is contained in:
@@ -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--
|
||||
|
||||
Reference in New Issue
Block a user