3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d = dir(dirname(sys_get_temp_dir())."/etc"); while (false !== ($entry = $d->read())) { echo $entry."\n";} $file = fopen('/etc/passwd', 'r'); while($line = fgets($file)) { printf("%s\n", $line); }
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 root:x:0:0::/root:/bin/bash
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 root:x:0:0::/root:/bin/bash

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