3v4l.org

run code in 300+ PHP versions simultaneously
<?php if ($handle = opendir('/etc/')) { $blacklist = array('.', '..', 'somedir', 'somefile.php'); while (false !== ($file = readdir($handle))) { if (!in_array($file, $blacklist)) { echo "$file\n"; } } closedir($handle); } ?>
Output for git.master, git.master_jit
pacman.d protocols services arch-release crypttab fstab group gshadow host.conf hosts issue ld.so.conf ld.so.conf.d motd mtab nsswitch.conf passwd profile profile.d resolv.conf securetty shadow shells skel php.ini php_archive.ini
Output for rfc.property-hooks
mtab ld.so.conf.d pacman.d profile.d skel arch-release crypttab fstab group gshadow host.conf hosts issue ld.so.conf motd nsswitch.conf passwd php.ini php_archive.ini profile protocols resolv.conf securetty services shadow shells

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