3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if(substr($str, 0, 3) == pack("CCC", 0xef, 0xbb, 0xbf)) { $str = substr($str, 3); }
based on IdXcW
Output for 5.0.4 - 7.1.0
Notice: Undefined variable: str in /in/gIgq5 on line 3
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: str in /in/gIgq5 on line 3