3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $response = array( "status" => "0", "message" => "Invalid user name or password", "user" => {} ); echo json_encode($response);
Output for 5.3.0 - 5.4.28
Parse error: syntax error, unexpected '{' in /in/K8v4i on line 5
Process exited with code 255.