From 120c78374999359ec6d0109e9de0f33d1b11c09d Mon Sep 17 00:00:00 2001 From: Daniel Egeberg Date: Wed, 24 Feb 2010 11:23:37 +0000 Subject: [PATCH] Fixed PHP bug #50864 (SimpleXMLElement::count does not exist) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295461 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/simplexml/simplexmlelement/children.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/reference/simplexml/simplexmlelement/children.xml b/reference/simplexml/simplexmlelement/children.xml index e970cae11a..ac5f88772f 100644 --- a/reference/simplexml/simplexmlelement/children.xml +++ b/reference/simplexml/simplexmlelement/children.xml @@ -129,9 +129,9 @@ begot a daughter who begot a son; and that son begot a son SimpleXMLElement::children returns a node - object no matter if the current node have children or not. Use the - SimpleXMLElement::count to check whether - there is any children. + object no matter if the current node have children or not. Use + count on the return value to see if there are any + children. @@ -139,7 +139,7 @@ begot a daughter who begot a son; and that son begot a son &reftitle.seealso; - SimpleXMLElement::count + SimpleXMLElement::count