3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php <pre> <?php $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/mr4Xc on line 2
Process exited with code 255.
Output for 5.3.0 - 5.4.17
Parse error: syntax error, unexpected '<' in /in/bFgnI on line 2
Process exited with code 255.