3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d = dir('/tmp'); while ($v = $d->read()) { echo "$v\n"; echo "\n-----------------------------------------------------------------\n"; readfile('/tmp/' . $v); echo "\n-----------------------------------------------------------------\n"; } $d->close();
Output for git.master_jit, git.master, rfc.property-hooks
. ----------------------------------------------------------------- Notice: readfile(): Read of 8192 bytes failed with errno=21 Is a directory in /in/RKK2u on line 6 ----------------------------------------------------------------- .. ----------------------------------------------------------------- Warning: readfile(): open_basedir restriction in effect. File(/tmp/..) is not within the allowed path(s): (/tmp:/in:/etc) in /in/RKK2u on line 6 Warning: readfile(/tmp/..): Failed to open stream: Operation not permitted in /in/RKK2u on line 6 -----------------------------------------------------------------

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