mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Error in code example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330039 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
e5ad6bc823
commit
69884b8692
2 changed files with 2 additions and 2 deletions
|
@ -107,7 +107,7 @@ function my_callback($current, $key, $iterator) {
|
|||
<![CDATA[
|
||||
<?php
|
||||
|
||||
$dir = new FilesystemIterator(__DIR__);
|
||||
$dir = new RecursiveDirectoryIterator(__DIR__);
|
||||
|
||||
// Filter large files ( > 100MB)
|
||||
$files = new RecursiveCallbackFilterIterator($dir, function ($current, $key, $iterator) {
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
<![CDATA[
|
||||
<?php
|
||||
|
||||
$dir = new FilesystemIterator(__DIR__);
|
||||
$dir = new RecursiveDirectoryIterator(__DIR__);
|
||||
|
||||
// Recursively iterate over XML files
|
||||
$files = new RecursiveCallbackFilterIterator($dir, function ($current, $key, $iterator) {
|
||||
|
|
Loading…
Reference in a new issue