XMLWriter::writePi

xmlwriter_write_pi

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

XMLWriter::writePi -- xmlwriter_write_piWrites a PI

˵��

���������

XMLWriter::writePi ( string $target , string $content ) : bool

���̻����

xmlwriter_write_pi ( resource $xmlwriter , string $target , string $content ) : bool

Writes a processing instruction.

����

xmlwriter

�����ڹ��̵��á����޸ĵ� XMLWriter resource������Դ�����ڶ� xmlwriter_open_uri() �� xmlwriter_open_memory() �ĵ��á�

target

The target of the processing instruction.

content

The content of the processing instruction.

����ֵ

�ɹ�ʱ���� TRUE�� ������ʧ��ʱ���� FALSE��

�μ�