3v4l.org

run code in 300+ PHP versions simultaneously
<?php $kw = " asdsdfsdf as "; $pattern = var_export('/[' . preg_quote(',!@%^*()={};~`<>?\|', '/') . ']/u'); var_dump($pattern); var_dump(preg_match($pattern, $kw));

preferences:
44.15 ms | 402 KiB | 5 Q