3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = array("0", "0", "F12345 / Q56T76"); if(strlen($array[2]) > 6 && preg_match('/[^a-zA-Z_\-0-9]/', str_replace(" ","",$array[2]))){ $error_message = "HFA Song Code contains characters other than alphanumerics and / at Line Number "; } echo $error_message; ?>
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
HFA Song Code contains characters other than alphanumerics and / at Line Number
Output for hhvm-3.10.0

Process exited with code 153.