3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mystring = ""; if (strlen($mystring) >= 10 && strlen($mystring) <= 32) { if (preg_match("/\d{3}/", $myString, $matches) > 0 ) { print "matches"; } else { print "not matches"; } } else { print "not in range"; }

preferences:
53.28 ms | 402 KiB | 5 Q