3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $bad_char = "♥"; $error_msg = "Illegal: $bad_char"; $code = "I \$♥ PHP"; if ( mb_strpos( $code, $bad_char) ) { trigger_error( $error_msg ); }
based on XvDco
Output for 4.3.0 - 5.2.6, 5.2.8 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
Notice: Illegal: ♥ in /in/epp66 on line 7
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.2.7

Process exited with code 143.