DOMText
PHP Manual

DOMText::isWhitespaceInElementContent

(PHP 5)

DOMText::isWhitespaceInElementContent Indicates whether this text node contains whitespace

说明

public bool DOMText::isWhitespaceInElementContent ( void )

Indicates whether this text node contains whitespace. The text node is determined to contain whitespace in element content during the load of the document.

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE.


DOMText
PHP Manual