PHP 8.4.2 Released!

XMLWriter::toStream

(PHP 8 >= 8.4.0)

XMLWriter::toStreamCreate new XMLWriter using a stream for output

Açıklama

public static XMLWriter::toStream(resource $stream): static

Creates a new XMLWriter using a stream for output.

Bağımsız Değişkenler

stream
The stream to use for output.

Dönen Değerler

Returns an XMLWriter.

Hatalar/İstisnalar

  • Passing a resource that is not a stream to stream will throw a TypeError.

Ayrıca Bakınız

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top