mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00

- Remove all overloading hooks -> array_read/array_access must be rewritten - Remove all basic iterators - Remove all 'spl_' prefixing exposed to user level - Add RecursiveIterator, RecursiveIteratorIterator - Add DirectoryIterator, DirectoryTreeIterator - Add some examples
10 lines
No EOL
157 B
PHP
Executable file
10 lines
No EOL
157 B
PHP
Executable file
<?php
|
|
|
|
class DirectoryTree extends RecursiveIteratorIterator
|
|
{
|
|
function __construct($path) {
|
|
parent::__construct(new DirectoryFilterDots($path));
|
|
}
|
|
}
|
|
|
|
?>
|