Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...

When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store


(PHP 5)

DOMText::isWhitespaceInElementContent Indicates whether this text node contains whitespace


public bool DOMText::isWhitespaceInElementContent ( void )

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

Return Values

Returns TRUE if node contains zero or more whitespace characters and nothing else. Returns FALSE otherwise.

PHP Manual