3v4l.org

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

preferences:
39.8 ms | 402 KiB | 5 Q