3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = 'medias_sqdqsd.zip'; echo mime_content_type($str);
Output for 7.3.0alpha1 - 7.3.0beta1
Warning: mime_content_type(medias_sqdqsd.zip): failed to open stream: No such file or directory in /in/7IAOu on line 4
Output for 7.1.20 - 7.2.6
Warning: mime_content_type(): open_basedir restriction in effect. File(medias_sqdqsd.zip) is not within the allowed path(s): (/tmp:/in) in /in/7IAOu on line 4 Warning: mime_content_type(medias_sqdqsd.zip): failed to open stream: Operation not permitted in /in/7IAOu on line 4
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.1.7
Warning: mime_content_type(): open_basedir restriction in effect. File(medias_sqdqsd.zip) is not within the allowed path(s): (/tmp/) in /in/7IAOu on line 4 Warning: mime_content_type(medias_sqdqsd.zip): failed to open stream: Operation not permitted in /in/7IAOu on line 4
Output for hhvm-3.15.4
Warning: No such file or directory in /in/7IAOu on line 4