3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a='#!env python # -*- coding:utf-8 -*- from serial import Serial from sys import exit '; $finfo = new finfo(FILEINFO_MIME_TYPE); echo $finfo->buffer($a) . "\n"; ?>
Output for 5.5.0 - 5.6.28, 7.0.4 - 7.2.0
text/x-python
Output for 7.0.0 - 7.0.3
Notice: Array to string conversion in /in/VtNKU on line 10 text/x-python