3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = array("a","popen"); echo fread( $x[1] ("uname -a", "r"), 31337); // where is your filter now ?>
Output for git.master, git.master_jit
Warning: popen(uname -a,r): Cannot allocate memory in /in/G3d0Y on line 1 Fatal error: Uncaught TypeError: fread(): Argument #1 ($stream) must be of type resource, bool given in /in/G3d0Y:1 Stack trace: #0 /in/G3d0Y(1): fread(false, 31337) #1 {main} thrown in /in/G3d0Y on line 1
Process exited with code 255.
Output for rfc.property-hooks
Warning: popen(uname -a,r): Cannot allocate memory in /in/G3d0Y on line 1 Fatal error: Uncaught TypeError: fread(): Argument #1 ($stream) must be of type resource, false given in /in/G3d0Y:1 Stack trace: #0 /in/G3d0Y(1): fread(false, 31337) #1 {main} thrown in /in/G3d0Y on line 1
Process exited with code 255.

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