[php-src] PR #23864: zend: Remove `zend_execute_scripts()`
| From: | TimWolla | Date: | Wed, 23 Sep 2026 14:32:09 +0000 |
| Subject: | [php-src] PR #23864: zend: Remove `zend_execute_scripts()` | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-38745@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/23864
Author: TimWolla
This function is unsafe, because it reused the
retval for each execution, without
clearing it in-between each script, leading to memory leaks.
Instead of fixing it, we just remove it: Writing a loop yourself is not much more complicated than
using this variadic function and provides more flexibility.