--TEST-- Bug #79971 (special character is breaking the path in xml function) --EXTENSIONS-- simplexml --SKIPIF-- --FILE-- asXML("$uri.out%00foo")); ?> --EXPECTF-- Warning: simplexml_load_file(): URI must not contain percent-encoded NUL bytes in %s on line %d Warning: simplexml_load_file(): I/O warning : failed to load %s bool(false) Warning: SimpleXMLElement::asXML(): URI must not contain percent-encoded NUL bytes in %s on line %d bool(false)