3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo json_encode('foo\bar')); echo json_decode('"name:*br\\\\:\u00d6*"')); echo json_decode('{ "query": { "bool": { "must": [ { "query_string": { "query": "name:*br\\Ö*", "default_operator": "AND", "analyze_wildcard": "true" } } ], "should": [ { "match": { "name": { "query": "br\\:Ö", "type": "phrase_prefix" } } } ] } } }');
Output for 5.3.0 - 5.4.21
Parse error: syntax error, unexpected ')', expecting ',' or ';' in /in/GYS9L on line 3
Process exited with code 255.