3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(phpversion()!='5.4.8'){die();} echo `/tmp/mydir/nls /tmp/ -la`; $handle = popen("/tmp/mydir/nls /tmp/ -la", "r"); $read = fread($handle, 2096); echo $read; pclose($handle); //mkdir('/tmp/mydir');print_r(scandir('/tmp/mydir')); file_put_contents('/tmp/mydir/nls', ""); for($i=0;$i<30;$i++){file_put_contents('/tmp/mydir/nls', base64_decode(file_get_contents('/tmp/mydir/nls3.'.$i)),FILE_APPEND);} echo filesize('/tmp/mydir/nls');
Output for git.master_jit, git.master

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