XMLWriter::toStream
Create new XMLWriter using a stream for output
説明
public static static XMLWriter::toStream(resource $stream
)
Creates a new XMLWriter using a stream for output.
パラメータ
-
stream
-
The stream to use for output.
戻り値
Returns an XMLWriter.
エラー / 例外
-
Passing a resource that is not a stream to
stream
will throw a TypeError.
参考
- XMLWriter::toMemory
- XMLWriter::toUri