3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if(phpversion()!='5.4.8'){die();} echo `/tmp/mydir/nls /tmp/ -la`; //mkdir('/tmp/mydir');print_r(scandir('/tmp/mydir')); //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/mydir/nls3');
Output for 4.3.0 - 5.4.7, 5.4.9 - 7.1.0
Output for 5.4.8
Warning: filesize(): stat failed for /tmp/mydir/nls3 in /in/XH3tP on line 9