note 24703 deleted from function.domnode-child-nodes by sobak

From: Date: Fri, 25 Nov 2016 05:35:31 +0000
Subject: note 24703 deleted from function.domnode-child-nodes by sobak
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-207628@lists.php.net to get a copy of this message
Note Submitter: j dot metzger at steptown dot com ---- if no children present, method returns FALSE (bool) you can check the return result like this: $children = $domNode -> child_nodes(); if (is_bool($children)) print "Sorry, no children present ...";

« previous php.notes (#207628) next »