3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $conf = array(); function test($p1) { global $conf $asd = md5(sprintf($conf['11'], $p1)) .'1'; return $asd; } test('asdfgg');
Output for 5.4.0 - 5.5.6
Parse error: syntax error, unexpected '$asd' (T_VARIABLE), expecting ',' or ';' in /in/D7GQ0 on line 6
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_VARIABLE, expecting ',' or ';' in /in/D7GQ0 on line 6
Process exited with code 255.