3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php finfo_open(1040, "/usr/share/file/magic");
Output for 5.4.0 - 7.2.0
Warning: finfo_open(/usr/share/file/magic): failed to open stream: No such file or directory in /in/Jtn2A on line 2 Warning: finfo_open(/usr/share/file/magic): failed to open stream: No such file or directory in /in/Jtn2A on line 2 Warning: finfo_open(): Failed to load magic database at '/usr/share/file/magic'. in /in/Jtn2A on line 2
Output for 5.3.0 - 5.3.29
Output for 5.0.0 - 5.2.17
Fatal error: Call to undefined function finfo_open() in /in/Jtn2A on line 2
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: finfo_open() in /in/Jtn2A on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: finfo_open() in /in/Jtn2A on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: finfo_open() in /in/Jtn2A on line 2