3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php preg_replace_callback('/#\{([^\}]+)\}/', function ($match) { var_dump(func_get_args()); }, "#{dupa} i #{pupa}")
Output for 5.4.0 - 5.4.21
Parse error: syntax error, unexpected end of file in /in/87YfA on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected $end in /in/87YfA on line 5
Process exited with code 255.