3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $filename = "file.php"; echo filetype($filename);
Output for 5.0.0 - 7.1.7
Warning: filetype(): Lstat failed for file.php in /in/77FZ6 on line 4
Output for 4.3.2 - 4.4.9
Warning: filetype(): Lstat failed for (null) (errno=2 - No such file or directory) in /in/77FZ6 on line 4
Output for 4.3.0 - 4.3.1
Warning: filetype() [http://www.php.net/function.filetype]: Lstat failed for (null) (errno=2 - No such file or directory) in /in/77FZ6 on line 4