mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3: Fix bug #61990 ext\spl\examples\tests\dualiterator_001.phpt fails
This commit is contained in:
commit
4458f3bcf6
@ -401,7 +401,7 @@ function copy_test_dir($directory, $dest)
|
||||
while (FALSE !== ($file = readdir($directory_list))) {
|
||||
$full_path = $directory . '/' . $file;
|
||||
if($file != '.' && $file != '..' && $file != '.svn' && is_dir($full_path)) {
|
||||
if ($file == 'tests') {
|
||||
if ($file == 'tests' || $file == 'examples') {
|
||||
if (!is_dir($dest . '/' . $full_path)) {
|
||||
mkdir($dest . '/' . $full_path , 0775, true);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user