3v4l.org

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

preferences:
42.24 ms | 402 KiB | 5 Q