3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(scandir('glob:///etc/*'));
Output for git.master, git.master_jit, rfc.property-hooks
array(25) { [0]=> string(12) "arch-release" [1]=> string(8) "crypttab" [2]=> string(5) "fstab" [3]=> string(5) "group" [4]=> string(7) "gshadow" [5]=> string(9) "host.conf" [6]=> string(5) "hosts" [7]=> string(5) "issue" [8]=> string(10) "ld.so.conf" [9]=> string(12) "ld.so.conf.d" [10]=> string(4) "motd" [11]=> string(13) "nsswitch.conf" [12]=> string(8) "pacman.d" [13]=> string(6) "passwd" [14]=> string(7) "php.ini" [15]=> string(15) "php_archive.ini" [16]=> string(7) "profile" [17]=> string(9) "profile.d" [18]=> string(9) "protocols" [19]=> string(11) "resolv.conf" [20]=> string(9) "securetty" [21]=> string(8) "services" [22]=> string(6) "shadow" [23]=> string(6) "shells" [24]=> string(4) "skel" }

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:
53.48 ms | 402 KiB | 8 Q