3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'te#st'; if (preg_match('/[!-\/]|[:-@]|[\[-`]/u', $string) > 0) { echo 'match'; } echo ' finish.';

preferences:
37.46 ms | 402 KiB | 5 Q