XMLWriter::writeElement

xmlwriter_write_element

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

XMLWriter::writeElement -- xmlwriter_write_elementWrite full element tag

˵��

���������

XMLWriter::writeElement ( string $name [, string $content ] ) : bool

���̻����

xmlwriter_write_element ( resource $xmlwriter , string $name [, string $content ] ) : bool

Writes a full element tag.

����

xmlwriter

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

name

The element name.

content

The element contents.

����ֵ

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

������־

�汾 ˵��
5.2.3 The content parameter became optional.

�μ�