[php-src] PR #13982: Make documentURI and URL not readonly

From: Date: Tue, 16 Apr 2024 19:52:05 +0000
Subject: [php-src] PR #13982: Make documentURI and URL not readonly
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-25779@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/13982 Author: nielsdos These aren't actually readonly right now because @readonly means nothing, and the setters are configured in php_dom.c. So no functional changes here. DOM spec marks these as readonly, but the problem is that this reduces usefulness in XML contexts (like WSDL scheme handling). In context of a browser, for which DOM was designed, this actually makes sense to have as readonly because it is tied to the origin of the page etc. But PHP is not a browser. This also wasn't readonly in "old DOM".

« previous php.git-pulls (#25779) next »