--TEST--
Bug #66084 simplexml_load_string() mangles empty node name, json variant
--SKIPIF--
--FILE--
')), "\n";
echo json_encode(simplexml_load_string('')), "\n";
echo json_encode(simplexml_load_string('')), "\n";
echo json_encode(simplexml_load_string('')), "\n";
?>
--EXPECT--
{"b":{},"c":{"x":{}}}
{"b":{},"d":{},"c":{"x":{}}}
{"b":{},"c":{"d":{},"x":{}}}
{"b":{},"c":{"d":{"x":{}}}}