3v4l.org

run code in 300+ PHP versions simultaneously
<?php if ($dh = opendir('/etc/')) { echo "Directory handle: $handle\n"; echo "Entries:\n"; /* This is the correct way to loop over the directory. */ while (false !== ($entry = readdir($dh))) { echo "$entry\n"; } closedir($dh); }
Output for git.master, git.master_jit
Warning: Undefined variable $handle in /in/WoLdW on line 4 Directory handle: Entries: . .. 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
Warning: Undefined variable $handle in /in/WoLdW on line 4 Directory handle: Entries: . .. 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:
45.22 ms | 401 KiB | 8 Q