3v4l.org

run code in 300+ PHP versions simultaneously
<? if(preg_match('[0-9a-zA-Z]', 'bob')) { echo preg_match('[0-9a-zA-Z]', 'bob'); } echo <br /><hr />; if(preg_match('~[0-9a-zA-Z]~', 'bob')) { echo preg_match('[0-9a-zA-Z]', 'bob'); } echo "<br /><hr />"; if(preg_match('~[0-9a-zA-Z]+~', 'bob')) { echo preg_match('[0-9a-zA-Z]', 'bob'); } ?>

This is an error 404

There are `0` results


preferences:
147.29 ms | 1399 KiB | 7 Q