From 31c627fb6c91f24ed7f9286445f2b4698b89cc41 Mon Sep 17 00:00:00 2001 From: "Daniel P. Brown" Date: Fri, 9 Jan 2009 14:19:33 +0000 Subject: [PATCH] Noted that calling statically results in E_STRICT. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@273163 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/dom/domdocument/loadhtmlfile.xml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/reference/dom/domdocument/loadhtmlfile.xml b/reference/dom/domdocument/loadhtmlfile.xml index eff73a3522..0ce828ca2e 100644 --- a/reference/dom/domdocument/loadhtmlfile.xml +++ b/reference/dom/domdocument/loadhtmlfile.xml @@ -1,5 +1,5 @@ - + DOMDocument::loadHTMLFile @@ -19,10 +19,12 @@ to be well-formed to load. - This function may also be called statically to load and create a - DOMDocument object. The static invocation may be - used when no DOMDocument properties need to be set - prior to loading. + Though not recommended, this function may also be called statically to load + and create a DOMDocument object. The static invocation + may be used when no DOMDocument properties need to be + set prior to loading. However, doing so will result an in + E_STRICT + error being generated.