3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x[0] = "sys"."tem"; $x[0]("echo 1337 > $(pwd)../../../../var/tmp/loldongas"); if(file_exists(getcwd().'../../../../var/tmp/loldongas')){print 'gay';}
Output for git.master_jit, git.master, rfc.property-hooks
Warning: system(): Unable to fork [echo 1337 > $(pwd)../../../../var/tmp/loldongas] in /in/LnnjI on line 1 Warning: file_exists(): open_basedir restriction in effect. File(/../../../../var/tmp/loldongas) is not within the allowed path(s): (/tmp:/in:/etc) in /in/LnnjI on line 2

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:
40.28 ms | 402 KiB | 8 Q