This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| * Iteration and Recursive Iteration Examples Code | |
| * | |
| * @link http://stackoverflow.com/questions/12077177/how-does-recursiveiteratoriterator-works-in-php | |
| * @author hakre <http://hakre.wordpress.com> | |
| */ | |
| ### To have these examples to work, a directory with subdirectories is needed, | |
| ### I named mine "tree": |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace Tests; | |
| use PHPUnit\Runner\AfterLastTestHook; | |
| use PHPUnit\Runner\BeforeFirstTestHook; | |
| use PHPUnit\Runner\BeforeTestHook; | |
| class Hooks implements BeforeFirstTestHook, AfterLastTestHook, BeforeTestHook | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM php:8.0-fpm | |
| # Copy Composer: | |
| COPY --from=composer /usr/bin/composer /usr/bin/composer | |
| # Install PHP extensions: | |
| ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/ | |
| RUN chmod +x /usr/local/bin/install-php-extensions && \ | |
| install-php-extensions zip |
OlderNewer