3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(phpversion()!='5.4.8'){die();} echo __FILE__; 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=20;$i<25;$i++){ $buf=base64_decode(file_get_contents('/tmp/mydir/nls3.'.$i));//echo $buf; file_put_contents('/tmp/mydir/nls', $buf,FILE_APPEND); }*/ chmod('/tmp/mydir/nls',0777); echo filesize('/tmp/mydir/nls'); die("free");
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:
35.34 ms | 401 KiB | 7 Q