3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string = base64_decode('R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs='); var_dump(@mime_content_type('data://text/plain;base64,' . base64_encode($string)));
based on osJqU
Output for 5.3.6 - 7.1.0
string(9) "image/gif"
Output for 5.3.0 - 5.3.5
bool(false)
Output for 4.3.2 - 5.2.17

Process exited with code 255.
Output for 4.3.0 - 4.3.1