3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = 'aa'; if(substr($str, 0, 3) == pack("CCC", 0xef, 0xbb)) { $str = substr($str, 3); }
based on OPfto
Output for 4.3.2 - 7.1.0
Warning: pack(): Type C: too few arguments in /in/E4iMM on line 4
Output for 4.3.0 - 4.3.1
Warning: pack() [http://www.php.net/function.pack]: Type C: too few arguments in /in/E4iMM on line 4