php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #30111 Move some DOMDocument properties to static
Submitted: 2004-09-16 13:35 UTC Modified: 2011-01-12 13:16 UTC
From: phoeniks2k at mail dot ru Assigned:
Status: Wont fix Package: DOM XML related
PHP Version: 5.0.1 OS: All
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2004-09-16 13:35 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-12-29 10:22 UTC] jani@php.net
-Package: Feature/Change Request +Package: DOM XML related
 [2011-01-12 13:16 UTC] rrichards@php.net
-Status: Open +Status: Wont fix
 [2011-01-12 13:16 UTC] rrichards@php.net
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.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Thu Jun 20 05:01:26 2019 UTC