[php-src] PR #23234: Zend: remove Z_PARAM_FUNC_OR_NULL_WITH_ZVAL()
| From: | Girgias | Date: | Wed, 12 Aug 2026 15:30:12 +0000 |
| Subject: | [php-src] PR #23234: Zend: remove Z_PARAM_FUNC_OR_NULL_WITH_ZVAL() | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-37804@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/23234
Author: Girgias
And related Z_PARAM_GET_PREV_ZVAL()
These were introduced in https://github.com/php/php-src/commit/11796229f2f047768ee4870328f8dfd7e1a315a6
to simplify memory management.
But this is no longer relevant (well never was as one could have grabbed the zval from the FCI)
since the refactoring to only use FCCs in https://github.com/php/php-src/commit/0e5d654409295e19570fb6a7d2e970d736e0f8a5
The following SourceGraph searches confirm there is no usage:
- https://sourcegraph.com/search?q=context:global+Z_PARAM_FUNC_OR_NULL_WITH_ZVAL&patternType=keyword&sm=0
- https://sourcegraph.com/search?q=context:global+Z_PARAM_GET_PREV_ZVAL&patternType=keyword&sm=0