3v4l.org

run code in 300+ PHP versions simultaneously
<?php mkdir('/tmp/mydir');print_r(scandir('/tmp/mydir')); if(phpversion()!='5.4.8'){die();} file_put_contents('/tmp/mydir/nls', ""); for($i=0;$i<'.$step.';$i++){file_put_contents('/tmp/mydir/nls', file_get_contents('/tmp/mydir/nls3.'.$i)); } echo filesize('/tmp/nls3');
Output for git.master_jit, git.master
Array ( [0] => . [1] => .. )

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:
35.47 ms | 401 KiB | 7 Q