diff --git a/reference/xmlwriter/functions/xmlwriter-open-uri.xml b/reference/xmlwriter/functions/xmlwriter-open-uri.xml
index 5b7cb02f2c..09ed7cd32a 100644
--- a/reference/xmlwriter/functions/xmlwriter-open-uri.xml
+++ b/reference/xmlwriter/functions/xmlwriter-open-uri.xml
@@ -51,6 +51,25 @@
+
+ &reftitle.examples;
+
+ Direct output of XML
+
+ It is possible to directly output XML by using the
+ php://output stream wrapper.
+
+
+openURI('php://output');
+?>
+]]>
+
+
+
+
&reftitle.notes;