3v4l.org

run code in 300+ PHP versions simultaneously
<?php //echo json_encode('foo\bar'); //echo json_decode('"name:*br\\\\:\u00d6*"'); var_dump(json_decode('{ "query": { "bool": { "must": [ { "query_string": { "query": "name:*br\\Ö*", "default_operator": "AND", "analyze_wildcard": "true" } } ], "should": [ { "match": { "name": { "query": "br\\:Ö", "type": "phrase_prefix" } } } ] } } }'));

preferences:
36.79 ms | 402 KiB | 5 Q