3v4l.org

run code in 300+ PHP versions simultaneously
<?php //$f = new SplFileObject('/usr/hi.txt', "w+"); $iterator = new RecursiveDirectoryIterator('/etc'); while($iterator->valid()) { $file = $iterator->current(); echo $iterator->key() . " => " . $file->getFilename() . "\n"; $iterator->next(); }
Output for git.master, git.master_jit
/etc/. => . /etc/.. => .. /etc/pacman.d => pacman.d /etc/protocols => protocols /etc/services => services /etc/arch-release => arch-release /etc/crypttab => crypttab /etc/fstab => fstab /etc/group => group /etc/gshadow => gshadow /etc/host.conf => host.conf /etc/hosts => hosts /etc/issue => issue /etc/ld.so.conf => ld.so.conf /etc/ld.so.conf.d => ld.so.conf.d /etc/motd => motd /etc/mtab => mtab /etc/nsswitch.conf => nsswitch.conf /etc/passwd => passwd /etc/profile => profile /etc/profile.d => profile.d /etc/resolv.conf => resolv.conf /etc/securetty => securetty /etc/shadow => shadow /etc/shells => shells /etc/skel => skel /etc/php.ini => php.ini /etc/php_archive.ini => php_archive.ini
Output for rfc.property-hooks
/etc/. => . /etc/.. => .. /etc/mtab => mtab /etc/ld.so.conf.d => ld.so.conf.d /etc/pacman.d => pacman.d /etc/profile.d => profile.d /etc/skel => skel /etc/arch-release => arch-release /etc/crypttab => crypttab /etc/fstab => fstab /etc/group => group /etc/gshadow => gshadow /etc/host.conf => host.conf /etc/hosts => hosts /etc/issue => issue /etc/ld.so.conf => ld.so.conf /etc/motd => motd /etc/nsswitch.conf => nsswitch.conf /etc/passwd => passwd /etc/php.ini => php.ini /etc/php_archive.ini => php_archive.ini /etc/profile => profile /etc/protocols => protocols /etc/resolv.conf => resolv.conf /etc/securetty => securetty /etc/services => services /etc/shadow => shadow /etc/shells => 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:
37.08 ms | 402 KiB | 8 Q