3v4l.org

run code in 300+ PHP versions simultaneously
<?php // alfanumeric check $value = '1567ababcdefr'; if (preg_match('/[^a-f0-9]/', $value)) { echo 'Niet door alfanumeric check'; } else{ echo 'Door alfanumeric check'; }

preferences:
42.15 ms | 402 KiB | 5 Q