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));
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => ./etc [1] => ./in [2] => ./tmp ) Array ( [./etc] => SplFileInfo Object ( [pathName:SplFileInfo:private] => ./etc [fileName:SplFileInfo:private] => etc ) [./in] => SplFileInfo Object ( [pathName:SplFileInfo:private] => ./in [fileName:SplFileInfo:private] => in ) [./tmp] => SplFileInfo Object ( [pathName:SplFileInfo:private] => ./tmp [fileName:SplFileInfo:private] => tmp ) )

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
44.42 ms | 402 KiB | 8 Q