3v4l.org

run code in 300+ PHP versions simultaneously
<?php //will got current directory list $glob = glob('./*'); print_r($glob); //will got nothing? $glob = new GlobIterator('./*'); print_r(iterator_to_array($glob));

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
169.58 ms | 4727 KiB | 13 Q