3v4l.org

run code in 300+ PHP versions simultaneously
<?php $reg_exp = '([!#%&+.'<=>@\`{|}~"()*\\\_\^\?\[\]\'\/\;])'; $word = 'stop91..'; $match = preg_match($reg_exp, $word); var_dump($match);
Output for 7.2.0 - 7.2.31, 7.3.0 - 7.3.18, 7.4.0 - 7.4.6
Parse error: syntax error, unexpected '`', expecting identifier (T_STRING) in /in/t0HRu on line 3
Process exited with code 255.

preferences:
175.67 ms | 1395 KiB | 65 Q