3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $dir = "./../bin/"; if (is_dir($dir)) { if ($dh = opendir($dir)) { while (($file = readdir($dh)) !== false) { echo "filename: $file : filetype: " . filetype($dir . $file) . "\n"; } closedir($dh); } } ?>

Abusive script

This script was stopped while abusing our resources

Output for 5.3.0 - 5.4.45
filename: . : filetype: dir filename: .. : filetype: dir filename: dash : filetype: file filename: hhvm-3.0.1 : filetype: file filename: hhvm-3.1.0 : filetype: file filename: hhvm-3.2.0 : filetype: file filename: hhvm-3.3.0 : filetype: file filename: hhvm-3.3.1 : filetype: file filename: hhvm-3.4.0 : filetype: file filename: hhvm-3.4.1 : filetype: file filename: hhvm-3.5.0 : filetype: file filename: hhvm-3.5.1 : filetype: file filename: hhvm-3.6.0 : filetype: file filename: hhvm-3.6.1 : filetype: file filename: hhvm-3.7.0 : filetype: file filename: hhvm-analyze : filetype: file filename: ph7-2001004 : filetype: file filename: php-4.3.0 : filetype: file filename: php-4.3.1 : filetype: file filename: php-4.3.10 : filetype: file filename: php-4.3.11 : filetype: file filename: php-4.3.2 : filetype: file filename: php-4.3.3 : filetype: file filename: php-4.3.4 : filetype: file filename: php-4.3.5 : filetype: file filename: php-4.3.6 : filetype: file filename: php-4.3.7 : filetype: file filename: php-4.3.8 : filetype: file filename: php-4.3.9 : filetype: file filename: php-4.4.0 : filetype: file filename: php-4.4.1 : filetype: file filename: php-4.4.2 : filetype: file filename: php-4.4.3 : filetype: file filename: php-4.4.4 : filetype: file filename: php-4.4.5 : filetype: file filename: php-4.4.6 : filetype: file filename: php-4.4.7 : filetype: file filename: php-4.4.8 : filetype: file filename: php-4.4.9 : filetype: file filename: php-5.0.0 : filetype: file filename: php-5.0.1 : filetype: file filename: php-5.0.2 : filetype: file filename: php-5.0.3 : filetype: file filename: php-5.0.4 : filetype: file filename: php-5.0.5 : filetype: file filename: php-5.1.0 : filetype: file filename: php-5.1.1 : filetype: file filename: php-5.1.2 : filetype: file filename: php-5.1.3 : filetype: file filename: php-5.1.4 : filetype: file filename: php-5.1.5 : filetype: file filename: php-5.1.6 : filetype: file filename: php-5.2.0 : filetype: file filename: php-5.2.1 : filetype: file filename: php-5.2.10 : filetype: file filename: php-5.2.11 : filetype: file filename: php-5.2.12 : filetype: file filename: php-5.2.13 : filetype: file filename: php-5.2.14 : filetype: file filename: php-5.2.15 : filetype: file filename: php-5.2.16 : filetype: file filename: php-5.2.17 : filetype: file filename: php-5.2.2 : filetype: file filename: php-5.2.3 : filetype: file filename: php-5.2.4 : filetype: file filename: php-5.2.5 : filetype: file filename: php-5.2.6 : filetype: file filename: php-5.2.7 : filetype: file filename: php-5.2.8 : filetype: file filename: php-5.2.9 : filetype: file filename: php-5.3.0 : filetype: file filename: php-5.3.1 : filetype: file filename: php-5.3.10 : filetype: file filename: php-5.3.11 : filetype: file filename: php-5.3.12 : filetype: file filename: php-5.3.13 : filetype: file filename: php-5.3.14 : filetype: file filename: php-5.3.15 : filetype: file filename: php-5.3.16 : filetype: file filename: php-5.3.17 : filetype: file filename: php-5.3.18 : filetype: file filename: php-5.3.19 : filetype: file filename: php-5.3.2 : filetype: file filename: php-5.3.20 : filetype: file filename: php-5.3.21 : filetype: file filename: php-5.3.22 : filetype: file filename: php-5.3.23 : filetype: file filename: php-5.3.24 : filetype: file filename: php-5.3.25 : filetype: file filename: php-5.3.26 : filetype: file filename: php-5.3.27 : filetype: file filename: php-5.3.28 : filetype: file filename: php-5.3.29 : filetype: file filename: php-5.3.3 : filetype: file filename: php-5.3.4 : filetype: file filename: php-5.3.5 : filetype: file filename: php-5.3.6 : filetype: file filename: php-5.3.7 : filetype: file filename: php-5.3.8 : filetype: file filename: php-5.3.9 : filetype: file filename: php-5.4.0 : filetype: file filename: php-5.4.1 : filetype: file filename: php-5.4.10 : filetype: file filename: php-5.4.11 : filetype: file filename: php-5.4.12 : filetype: file filename: php-5.4.13 : filetype: file filename: php-5.4.14 : filetype: file filename: php-5.4.15 : filetype: file filename: php-5.4.16 : filetype: file filename: php-5.4.17 : filetype: file filename: php-5.4.18 : filetype: file filename: php-5.4.19 : filetype: file filename: php-5.4.2 : filetype: file filename: php-5.4.20 : filetype: file filename: php-5.4.21 : filetype: file filename: php-5.4.22 : filetype: file filename: php-5.4.23 : filetype: file filename: php-5.4.24 : filetype: file filename: php-5.4.25 : filetype: file filename: php-5.4.26 : filetype: file filename: php-5.4.27 : filetype: file filename: php-5.4.28 : filetype: file filename: php-5.4.29 : filetype: file filename: php-5.4.3 : filetype: file filename: php-5.4.30 : filetype: file filename: php-5.4.31 : filetype: file filename: php-5.4.32 : filetype: file filename: php-5.4.33 : filetype: file filename: php-5.4.34 : filetype: file filename: php-5.4.35 : filetype: file filename: php-5.4.36 : filetype: file filename: php-5.4.37 : filetype: file filename: php-5.4.38 : filetype: file filename: php-5.4.39 : filetype: file filename: php-5.4.4 : filetype: file filename: php-5.4.40 : filetype: file filename: php-5.4.41 : filetype: file filename: php-5.4.42 : filetype: file filename: php-5.4.5 : filetype: file filename: php-5.4.6 : filetype: file filename: php-5.4.7 : filetype: file filename: php-5.4.8 : filetype: file filename: php-5.4.9 : filetype: file filename: php-5.5.0 : filetype: file filename: php-5.5.1 : filetype: file filename: php-5.5.10 : filetype: file filename: php-5.5.11 : filetype: file filename: php-5.5.12 : filetype: file filename: php-5.5.13 : filetype: file filename: php-5.5.14 : filetype: file filename: php-5.5.15 : filetype: file filename: php-5.5.16 : filetype: file filename: php-5.5.17 : filetype: file filename: php-5.5.18 : filetype: file filename: php-5.5.19 : filetype: file filename: php-5.5.2 : filetype: file filename: php-5.5.20 : filetype: file filename: php-5.5.21 : filetype: file filename: php-5.5.22 : filetype: file filename: php-5.5.23 : filetype: file filename: php-5.5.24 : filetype: file filename: php-5.5.25 : filetype: file filename: php-5.5.26 : filetype: file filename: php-5.5.3 : filetype: file filename: php-5.5.4 : filetype: file filename: php-5.5.5 : filetype: file filename: php-5.5.6 : filetype: file filename: php-5.5.7 : filetype: file filename: php-5.5.8 : filetype: file filename: php-5.5.9 : filetype: file filename: php-5.6.0 : filetype: file filename: php-5.6.1 : filetype: file filename: php-5.6.10 : filetype: file filename: php-5.6.2 : filetype: file filename: php-5.6.3 : filetype: file filename: php-5.6.4 : filetype: file filename: php-5.6.5 : filetype: file filename: php-5.6.6 : filetype: file filename: php-5.6.7 : filetype: file filename: php-5.6.8 : filetype: file filename: php-5.6.9 : filetype: file filename: php-7.0.0alpha1 : filetype: file filename: php-rfc-anonymous_classes : filetype: file filename: php-rfc-scalar_type_hints_v5 : filetype: file filename: php-rfc-short_closures : filetype: file filename: php-segfault : filetype: file filename: php-vld : filetype: file filename: php-7.0.0alpha2 : filetype: file filename: php-5.4.43 : filetype: file filename: php-5.5.27 : filetype: file filename: php-5.6.11 : filetype: file filename: hhvm-3.8.0 : filetype: file filename: php-7.0.0beta1 : filetype: file filename: hh_client : filetype: file filename: which : filetype: file filename: php-7.0.0beta2 : filetype: file filename: hhvm-3.8.1 : filetype: file filename: php-5.4.44 : filetype: file filename: php-5.5.28 : filetype: file filename: php-5.6.12 : filetype: file filename: php-7.0.0beta3 : filetype: file filename: hhvm-3.9.0 : filetype: file filename: php-7.0.0RC1 : filetype: file filename: php-5.5.29 : filetype: file filename: php-5.6.13 : filetype: file filename: php-debug-7.0.0RC1 : filetype: file filename: php-7.0.0RC2 : filetype: file filename: php-5.4.45 : filetype: file filename: hhvm-3.9.1 : filetype: file filename: php-7.0.0RC3 : filetype: file filename: sh : filetype: link filename: php-5.5.30 : filetype: file filename: php-7.0.0RC4 : filetype: file filename: php-5.6.14 : filetype: file filename: php-7.0.0RC5 : filetype: file filename: hhvm-3.10.0 : filetype: file filename: hhvm-3.10.1 : filetype: file filename: php-7.0.0RC6 : filetype: file filename: php-5.6.15 : filetype: file filename: php-7.1@54ff923ff5 : filetype: file filename: php-7.0.0RC7 : filetype: file filename: php-7.0.0RC8 : filetype: file filename: php-5.6.16 : filetype: file filename: php-7.0.0 : filetype: file filename: hhvm-3.11.0 : filetype: file filename: php-7.0.1 : filetype: file filename: php-7.0.2 : filetype: file filename: php-5.5.31 : filetype: file filename: php-5.6.17 : filetype: file filename: php-7.0.3 : filetype: file filename: php-5.5.32 : filetype: file filename: php-5.6.18 : filetype: file filename: hhvm-3.12.0 : filetype: file filename: daemon : filetype: file