3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo mime_content_type ( 'php.gif' ) . "\n" ; echo mime_content_type ( 'test.php' );
Output for 5.3.6 - 7.1.0
Warning: mime_content_type(php.gif): failed to open stream: No such file or directory in /in/ItDrF on line 3 Warning: mime_content_type(test.php): failed to open stream: No such file or directory in /in/ItDrF on line 4
Output for 5.3.0 - 5.3.5
Warning: mime_content_type(): File or path not found 'php.gif' in /in/ItDrF on line 3 Warning: mime_content_type(): File or path not found 'test.php' in /in/ItDrF on line 4
Output for 5.0.0 - 5.2.17
Fatal error: Call to undefined function mime_content_type() in /in/ItDrF on line 3
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: mime_content_type() in /in/ItDrF on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: mime_content_type() in /in/ItDrF on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: mime_content_type() in /in/ItDrF on line 3