CakeFest 2024: The Official CakePHP Conference

XMLWriter::openMemory

xmlwriter_open_memory

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

XMLWriter::openMemory -- xmlwriter_open_memoryCrea un nuevo xmlwriter usando memoria para el string de salida

Descripción

Estilo orientado a objetos

public XMLWriter::openMemory(): bool

Estilo por procedimientos

xmlwriter_open_memory(): XMLWriter|false

Crea un nuevo XMLWriter usando memoria para el string de salida.

Parámetros

Valores devueltos

Estilo orientado a objetos: Devuelve true en caso de éxito o false en caso de error.

Estilo por procedimientos: Returns a new XMLWriter for later use with the xmlwriter functions on success, o false en caso de error.

Historial de cambios

Versión Descripción
8.0.0 This function returns now an XMLWriter instance on success. Previouly, a recurso has been returned in this case.

Ver también

add a note

User Contributed Notes

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