3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dir = "etc"; // Open a known directory, and proceed to read its contents if (is_dir($dir)) { if ($dh = opendir($dir)) { while (($file = readdir($dh)) !== false) { echo "filename: $file : filetype: " . filetype($dir . $file) . "\n"; } closedir($dh); } }
Output for git.master, git.master_jit
Warning: filetype(): open_basedir restriction in effect. File(etc.) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: . : filetype: Warning: filetype(): open_basedir restriction in effect. File(etc..) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: .. : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcpacman.d) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: pacman.d : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcprotocols) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: protocols : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcservices) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: services : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcarch-release) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: arch-release : filetype: Warning: filetype(): open_basedir restriction in effect. File(etccrypttab) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: crypttab : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcfstab) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: fstab : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcgroup) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: group : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcgshadow) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: gshadow : filetype: Warning: filetype(): open_basedir restriction in effect. File(etchost.conf) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: host.conf : filetype: Warning: filetype(): open_basedir restriction in effect. File(etchosts) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: hosts : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcissue) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: issue : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcld.so.conf) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: ld.so.conf : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcld.so.conf.d) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: ld.so.conf.d : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcmotd) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: motd : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcmtab) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: mtab : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcnsswitch.conf) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: nsswitch.conf : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcpasswd) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: passwd : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcprofile) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: profile : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcprofile.d) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: profile.d : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcresolv.conf) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: resolv.conf : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcsecuretty) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: securetty : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcshadow) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: shadow : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcshells) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: shells : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcskel) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: skel : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcphp.ini) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: php.ini : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcphp_archive.ini) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: php_archive.ini : filetype:
Output for rfc.property-hooks
Warning: filetype(): open_basedir restriction in effect. File(etc.) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: . : filetype: Warning: filetype(): open_basedir restriction in effect. File(etc..) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: .. : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcmtab) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: mtab : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcld.so.conf.d) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: ld.so.conf.d : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcpacman.d) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: pacman.d : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcprofile.d) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: profile.d : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcskel) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: skel : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcarch-release) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: arch-release : filetype: Warning: filetype(): open_basedir restriction in effect. File(etccrypttab) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: crypttab : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcfstab) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: fstab : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcgroup) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: group : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcgshadow) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: gshadow : filetype: Warning: filetype(): open_basedir restriction in effect. File(etchost.conf) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: host.conf : filetype: Warning: filetype(): open_basedir restriction in effect. File(etchosts) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: hosts : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcissue) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: issue : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcld.so.conf) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: ld.so.conf : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcmotd) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: motd : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcnsswitch.conf) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: nsswitch.conf : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcpasswd) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: passwd : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcphp.ini) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: php.ini : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcphp_archive.ini) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: php_archive.ini : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcprofile) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: profile : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcprotocols) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: protocols : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcresolv.conf) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: resolv.conf : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcsecuretty) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: securetty : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcservices) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: services : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcshadow) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: shadow : filetype: Warning: filetype(): open_basedir restriction in effect. File(etcshells) is not within the allowed path(s): (/tmp:/in:/etc) in /in/8MKLH on line 8 filename: shells : filetype:

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.81 ms | 412 KiB | 8 Q