3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $fname = "Jan-"; if (preg_match('/[a-z0-9]/', $fname)) { echo 'Goed!'; } else { echo "Fout"; } ?>
based on gV34P
Output for 4.3.0 - 7.2.0
Goed!