XMLWriter::openMemory

xmlwriter_open_memory

(PHP 5 >= 5.1.2, PHP 7, PECL xmlwriter >= 0.1.0)

XMLWriter::openMemory -- xmlwriter_open_memoryCreate new xmlwriter using memory for string output

Descrierea

Stil obiect-orientat

public XMLWriter::openMemory ( ) : bool

Stil procedural

xmlwriter_open_memory ( ) : XMLWriter|false

Creates a new XMLWriter using memory for string output.

Parametri

Valorile întoarse

Stil obiect-orientat: Întoarce valoarea true în cazul succesului sau false în cazul eșecului.

Stil procedural: Returns a new XMLWriter for later use with the xmlwriter functions on success, sau false în cazul eșecului.

Istoricul schimbărilor

Versiune Descriere
8.0.0 This function returns now an XMLWriter instance on success. Previouly, a resource has been returned in this case.

A se vedea și