(PHP 5 >= 5.1.2, PHP 7, PECL xmlwriter >= 0.1.0)
XMLWriter::writePi -- xmlwriter_write_pi — Writes a PI
Stil obiect-orientat
$target
, string $content
) : boolStil procedural
$writer
, string $target
, string $content
) : boolWrites a processing instruction.
xmlwriter
Numai pentru apelurile procedurale. Resursa XMLWriter care este modificată. Această resursă se obține în urma apelării xmlwriter_open_uri() sau xmlwriter_open_memory ().
target
The target of the processing instruction.
content
The content of the processing instruction.
Întoarce valoarea true
în cazul
succesului sau false
în cazul eșecului.
Versiune | Descriere |
---|---|
8.0.0 |
writer expects an XMLWriter
instance now; previously, a resource was expected.
|