[php-src] PR #11768: Fix empty argument cases for DOMParentNode methods
| From: | nielsdos | Date: | Sat, 22 Jul 2023 17:19:23 +0000 |
| Subject: | [php-src] PR #11768: Fix empty argument cases for DOMParentNode methods | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-23142@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/11768
Author: nielsdos
They should be callable with empty arguments. It might seem useless but this can happen with empty
fragments (as seen in the attached testcase).
This aligns the behaviour to spec.