Created
February 22, 2021 21:58
-
-
Save Girgias/19d9c2a2c7a74d0f98cd87f4e0abe2e9 to your computer and use it in GitHub Desktop.
Snipper to prepare PECL releases
This file contains 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 | |
$iter = new RecursiveIteratorIterator(new RecursiveDirectoryIterator(__DIR__ . '/tests/', FilesystemIterator::CURRENT_AS_PATHNAME | FilesystemIterator::SKIP_DOTS)); | |
$paths = str_replace(__DIR__ . '/', '', iterator_to_array($iter)); | |
natsort($paths); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment