[php-src] PR #13366: Minor DOM improvements
| From: | nielsdos | Date: | Sat, 10 Feb 2024 10:41:18 +0000 |
| Subject: | [php-src] PR #13366: Minor DOM improvements | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-25042@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/13366
Author: nielsdos
* Remove some useless code
* Don't use heap allocations for registering DOM property handlers. This avoids some memory
overhead coming from malloc, and just puts the handler data in read-only data, which should be more
robust.
* Use booleans instead of 0/1.