3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "48"; if(preg_match("/[A-Z]/",$string)!=0) { echo "gots a letter"; }

preferences:
32.22 ms | 402 KiB | 5 Q