3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php <pre> $a = ' \\\n'; echo $a.'<br>'; if (preg_match('%[\\]{2}%i', $a, $regs)) { var_dump($regs); } else { echo 'Failed.'; }
Output for 5.4.18 - 5.4.19
Parse error: syntax error, unexpected '<' in /in/7bCgj on line 2
Process exited with code 255.
Output for 5.3.0 - 5.4.17
Parse error: syntax error, unexpected '<' in /in/8gkeI on line 2
Process exited with code 255.