3v4l.org

run code in 200+ php & hhvm versions
<?php echo preg_quote('{'); echo preg_replace('aaa', 'bbb', 'hpdaaafijfew');
based on H7nHv
Output for 7.1.25 - 7.4.0beta4
\{ Warning: preg_replace(): Delimiter must not be alphanumeric or backslash in /in/s7tUR on line 4