3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = "good string ith 9ï"; if(preg_match("/^[a-zA-Z0-9 ]+$/", $str) == 1) { echo "ok"; } else { echo "niet ok"; }
based on c9fMH
Output for 4.3.0 - 7.2.0
niet ok