3v4l.org

run code in 300+ PHP versions simultaneously
<?php $regex = '#^[0-9a-zA-Z\-\+\#\|\/\\\(\)]*$#'; var_dump( preg_match($regex, '@', $regs) );

preferences:
47.92 ms | 402 KiB | 5 Q