![]() ![]() | ![]() |
1.1 ! misho 1: --TEST-- ! 2: Bug #61264: xmlrpc_parse_method_descriptions leaks temporary variable ! 3: --FILE-- ! 4: <?php ! 5: $xml = <<<XML ! 6: <?xml version="1.0" encoding="utf-8"?> ! 7: <a> ! 8: <b>foo</b> ! 9: </a> ! 10: XML; ! 11: var_dump(xmlrpc_parse_method_descriptions($xml)); ! 12: ?> ! 13: --EXPECT-- ! 14: array(1) { ! 15: ["b"]=> ! 16: string(3) "foo" ! 17: }