From b057f25813450c7e5bce5a9ac908d3b55f423ca6 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Fri, 9 Jan 2009 13:38:31 +0000 Subject: [PATCH] Issues E_STRICT with static call git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@273159 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/dom/domdocument/load.xml | 7 ++++--- reference/dom/domdocument/loadhtml.xml | 6 ++++-- reference/dom/domdocument/loadhtmlfile.xml | 6 ++++-- reference/dom/domdocument/loadxml.xml | 6 ++++-- 4 files changed, 16 insertions(+), 9 deletions(-) diff --git a/reference/dom/domdocument/load.xml b/reference/dom/domdocument/load.xml index c9d60e34a3..9485a5801e 100644 --- a/reference/dom/domdocument/load.xml +++ b/reference/dom/domdocument/load.xml @@ -1,5 +1,5 @@ - + DOMDocument::load @@ -52,8 +52,9 @@ &reftitle.returnvalues; - &return.success; If called statically, returns a DOMDocument but also - causes an E_STRICT warning. + &return.success; If called statically, returns a + DOMDocument and issues E_STRICT + warning. diff --git a/reference/dom/domdocument/loadhtml.xml b/reference/dom/domdocument/loadhtml.xml index fa95856f85..35edee4ad9 100644 --- a/reference/dom/domdocument/loadhtml.xml +++ b/reference/dom/domdocument/loadhtml.xml @@ -1,5 +1,5 @@ - + DOMDocument::loadHTML @@ -40,7 +40,9 @@ &reftitle.returnvalues; - &return.success; + &return.success; If called statically, returns a + DOMDocument and issues E_STRICT + warning. diff --git a/reference/dom/domdocument/loadhtmlfile.xml b/reference/dom/domdocument/loadhtmlfile.xml index fe04bbce03..eff73a3522 100644 --- a/reference/dom/domdocument/loadhtmlfile.xml +++ b/reference/dom/domdocument/loadhtmlfile.xml @@ -1,5 +1,5 @@ - + DOMDocument::loadHTMLFile @@ -43,7 +43,9 @@ &reftitle.returnvalues; - &return.success; + &return.success; If called statically, returns a + DOMDocument and issues E_STRICT + warning. diff --git a/reference/dom/domdocument/loadxml.xml b/reference/dom/domdocument/loadxml.xml index 5535e5bfe8..6b18889e35 100644 --- a/reference/dom/domdocument/loadxml.xml +++ b/reference/dom/domdocument/loadxml.xml @@ -1,5 +1,5 @@ - + DOMDocument::loadXML @@ -52,7 +52,9 @@ &reftitle.returnvalues; - &return.success; If called statically, returns a DOMDocument. + &return.success; If called statically, returns a + DOMDocument and issues E_STRICT + warning.