3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(file_get_contents('/proc/version'), array_map('file_get_contents', glob('/etc/*-release')), `echo \$PATH`, glob('{/bin/*,/usr/bin/*}', GLOB_BRACE));
Output for git.master, git.master_jit, rfc.property-hooks
Warning: file_get_contents(): open_basedir restriction in effect. File(/proc/version) is not within the allowed path(s): (/tmp:/in:/etc) in /in/DI9C9 on line 3 Warning: file_get_contents(/proc/version): Failed to open stream: Operation not permitted in /in/DI9C9 on line 3 Warning: shell_exec(): Unable to execute 'echo $PATH' in /in/DI9C9 on line 3 bool(false) array(1) { [0]=> string(0) "" } bool(false) array(0) { }

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.9 ms | 402 KiB | 8 Q