From d5c4336ad58896e0dd871fd1f9655c9f9aa53150 Mon Sep 17 00:00:00 2001 From: Richard Quadling Date: Mon, 24 May 2010 12:02:01 +0000 Subject: [PATCH] xinclude() returns False when there are no XIncludes (Thank you Peter Cowburn) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299688 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/dom/domdocument/xinclude.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reference/dom/domdocument/xinclude.xml b/reference/dom/domdocument/xinclude.xml index 859b915999..ee7c9273a6 100644 --- a/reference/dom/domdocument/xinclude.xml +++ b/reference/dom/domdocument/xinclude.xml @@ -43,7 +43,8 @@ &reftitle.returnvalues; - Returns the number of XIncludes in the document or -1 if some processing failed. + Returns the number of XIncludes in the document, -1 if some processing failed, + or &false; if there were no substitutions.