3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a='#!env pytho # -*- coding:utf-8 -*- from serial import Serial from sys import exit '; $finfo = new finfo(FILEINFO_MIME_TYPE); echo $finfo->buffer($a) . "\n"; ?>
based on VtNKU
Output for 5.3.22 - 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/Q3ktV on line 10 text/x-python