3v4l.org

run code in 300+ PHP versions simultaneously
<?php $iterator = new RecursiveIteratorIterator(new RecursiveDirectoryIterator('/etc'), 1, 16); foreach ($iterator as $path) { print $path->__toString() . PHP_EOL; }
Output for git.master, git.master_jit
/etc/. /etc/.. /etc/pacman.d /etc/pacman.d/. /etc/pacman.d/.. /etc/pacman.d/mirrorlist /etc/protocols /etc/services /etc/arch-release /etc/crypttab /etc/fstab /etc/group /etc/gshadow /etc/host.conf /etc/hosts /etc/issue /etc/ld.so.conf /etc/ld.so.conf.d /etc/ld.so.conf.d/. /etc/ld.so.conf.d/.. /etc/motd Warning: RecursiveDirectoryIterator::hasChildren(): open_basedir restriction in effect. File(/etc/mtab) is not within the allowed path(s): (/tmp:/in:/etc) in /in/h6I6Q on line 4 /etc/mtab /etc/nsswitch.conf /etc/passwd /etc/profile /etc/profile.d /etc/profile.d/. /etc/profile.d/.. /etc/profile.d/locale.sh /etc/resolv.conf /etc/securetty /etc/shadow /etc/shells /etc/skel /etc/skel/. /etc/skel/.. /etc/php.ini /etc/php_archive.ini
Output for rfc.property-hooks
/etc/. /etc/.. Warning: RecursiveDirectoryIterator::hasChildren(): open_basedir restriction in effect. File(/etc/mtab) is not within the allowed path(s): (/tmp:/in:/etc) in /in/h6I6Q on line 4 /etc/mtab /etc/ld.so.conf.d /etc/ld.so.conf.d/. /etc/ld.so.conf.d/.. /etc/pacman.d /etc/pacman.d/. /etc/pacman.d/.. /etc/pacman.d/mirrorlist /etc/profile.d /etc/profile.d/. /etc/profile.d/.. /etc/profile.d/locale.sh /etc/skel /etc/skel/. /etc/skel/.. /etc/arch-release /etc/crypttab /etc/fstab /etc/group /etc/gshadow /etc/host.conf /etc/hosts /etc/issue /etc/ld.so.conf /etc/motd /etc/nsswitch.conf /etc/passwd /etc/php.ini /etc/php_archive.ini /etc/profile /etc/protocols /etc/resolv.conf /etc/securetty /etc/services /etc/shadow /etc/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.92 ms | 402 KiB | 8 Q