Req #30111 [Opn->Wfx]: Move some DOMDocument properties to static
| From: | rrichards@php.net | Date: | Wed, 12 Jan 2011 12:16:21 +0000 |
| Subject: | Req #30111 [Opn->Wfx]: Move some DOMDocument properties to static | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-157843@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=30111&edit=1
ID: 30111
Updated by: rrichards@php.net
Reported by: phoeniks2k at mail dot ru
Summary: Move some DOMDocument properties to static
-Status: Open
+Status: Wont fix
Type: Feature/Change Request
Package: DOM XML related
Operating System: All
PHP Version: 5.0.1
Block user comment: N
Private report: N
New Comment:
These are all per document settings and wont change to global. For
consistent
settings you are better off setting default settings to a var and always
passing
it to the $options parameter of the load method.
Previous Comments:
------------------------------------------------------------------------
[2004-09-16 13:35:41] phoeniks2k at mail dot ru
Description:
------------
It's likely to move
#
validateOnParse - default FALSE (will load and validate against DTD)
resolveExternals - default FALSE (will load the DTD without
performaing validation)
preserveWhiteSpace - default TRUE
substituteEntities - default FALSE
#
properties to statics
It's good idea to define theese vars once for all exec time of the
script
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=30111&edit=1