3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string = "B48"; if(preg_match("/[A-Z]/",$string)!=0) { echo "gots a letter"; }
Output for 4.3.0 - 7.1.0
gots a letter