3v4l.org

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

preferences:
31.97 ms | 402 KiB | 5 Q