3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $myString="1abc"; if( preg_match('([a-zA-Z0-9].*)', $myString) ) { echo('Has numbers and letters.'); } else { echo("no"); }
Output for 4.3.0 - 7.1.0
Has numbers and letters.