3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php #fecho file_get_contents('/etc/httpd/site foreach(glob("/etc/*") as $file) { echo $file . "\n"; }
Output for 5.6.28, 7.0.14 - 7.1.0
/etc/ImageMagick-6 /etc/ODBCDataSources /etc/arch-release /etc/bash.bash_logout /etc/bash.bashrc /etc/ca-certificates /etc/crypttab /etc/default /etc/environment /etc/fonts /etc/fstab /etc/gai.conf /etc/group /etc/gshadow /etc/hhvm /etc/host.conf /etc/hosts /etc/inputrc /etc/issue /etc/krb5.conf /etc/ld.so.cache /etc/ld.so.conf /etc/ld.so.conf.d /etc/locale.gen /etc/localtime /etc/login.defs /etc/machine-id /etc/mke2fs.conf /etc/motd /etc/mtab /etc/netconfig /etc/nscd.conf /etc/nsswitch.conf /etc/odbc.ini /etc/odbcinst.ini /etc/openldap /etc/pacman.d /etc/pam.d /etc/passwd /etc/php.ini /etc/php_archive.ini /etc/pkcs11 /etc/profile /etc/profile.d /etc/protocols /etc/request-key.conf /etc/request-key.d /etc/resolv.conf /etc/rpc /etc/securetty /etc/security /etc/services /etc/shadow /etc/shells /etc/skel /etc/ssl
Output for 5.5.24 - 5.5.28, 5.5.35 - 5.6.12, 5.6.21, 7.0.6
/etc/ImageMagick-6 /etc/ODBCDataSources /etc/arch-release /etc/bash.bash_logout /etc/bash.bashrc /etc/ca-certificates /etc/crypttab /etc/default /etc/environment /etc/fonts /etc/fstab /etc/gai.conf /etc/group /etc/gshadow /etc/hhvm /etc/host.conf /etc/hosts /etc/inputrc /etc/issue /etc/krb5.conf /etc/ld.so.cache /etc/ld.so.conf /etc/ld.so.conf.d /etc/locale.gen /etc/localtime /etc/login.defs /etc/mke2fs.conf /etc/motd /etc/mtab /etc/netconfig /etc/nscd.conf /etc/nsswitch.conf /etc/odbc.ini /etc/odbcinst.ini /etc/openldap /etc/pacman.d /etc/pam.d /etc/passwd /etc/php.ini /etc/php_archive.ini /etc/pkcs11 /etc/profile /etc/profile.d /etc/protocols /etc/request-key.conf /etc/request-key.d /etc/resolv.conf /etc/rpc /etc/securetty /etc/security /etc/services /etc/shadow /etc/shells /etc/skel /etc/ssl
Output for 5.5.29 - 5.5.31, 5.5.34, 5.6.13 - 5.6.17, 5.6.20, hhvm-3.10.0, 7.0.0 - 7.0.3, 7.0.5
/etc/ImageMagick-6 /etc/ODBCDataSources /etc/arch-release /etc/bash.bash_logout /etc/bash.bashrc /etc/ca-certificates /etc/crypttab /etc/default /etc/environment /etc/fonts /etc/fstab /etc/gai.conf /etc/group /etc/gshadow /etc/hhvm /etc/host.conf /etc/hosts /etc/inputrc /etc/issue /etc/krb5.conf /etc/ld.so.cache /etc/ld.so.conf /etc/ld.so.conf.d /etc/locale.gen /etc/localtime /etc/login.defs /etc/mke2fs.conf /etc/motd /etc/mtab /etc/netconfig /etc/nscd.conf /etc/nsswitch.conf /etc/odbc.ini /etc/odbcinst.ini /etc/openldap /etc/pacman.d /etc/pam.d /etc/passwd /etc/php.ini /etc/pkcs11 /etc/profile /etc/profile.d /etc/protocols /etc/request-key.conf /etc/request-key.d /etc/resolv.conf /etc/rpc /etc/securetty /etc/security /etc/services /etc/shadow /etc/shells /etc/skel /etc/ssl
Output for 4.3.0 - 4.3.6, 4.3.9 - 5.4.45, 5.5.32 - 5.5.33, 5.6.18 - 5.6.19, hhvm-3.12.0, 7.0.4
Output for 4.3.7 - 4.3.8
Warning: Invalid argument supplied for foreach() in /in/XZccg on line 4