Edit report at http://bugs.php.net/bug.php?id=30111&edit=1
ID: 30111 Updated by: rricha...@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