(PHP 5 >= 5.1.2, PHP 7, PECL xmlwriter >= 0.1.0)
XMLWriter::writePi -- xmlwriter_write_pi — Writes a PI
Estilo orientado à objeto
$target
, string $content
) : boolEstilo procedural
$xmlwriter
, string $target
, string $content
) : boolWrites a processing instruction.
xmlwriterApenas para chamadas de procedimentos. O recurso XMLWriter resource que esta sendo modificado. Este recurso vem de uma chamada a xmlwriter_open_uri() ou xmlwriter_open_memory().
targetThe target of the processing instruction.
contentThe content of the processing instruction.
Retorna TRUE em caso de sucesso ou FALSE em caso de falha.