[php-src] PR #23051: Zend: remove zend_parse_parameter()
| From: | Girgias | Date: | Tue, 04 Aug 2026 20:35:29 +0000 |
| Subject: | [php-src] PR #23051: Zend: remove zend_parse_parameter() | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-37535@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/23051
Author: Girgias
This API is far worse than just using the existing zend_parse_arg_TYPE() APIs.
A SourceGraph search [1] shows this API is effectively only used by ext/ds to which a PR migrating
away from this API has been submitted. [2] The other two usages are from a now deprecated extension
[3] and @arnauld-lb's now longer maintained php-go project. [4]
As such we think it is reasonable to remove said API.
[1] https://sourcegraph.com/search?q=context:global+-f:zend_API.c+-f:zend_API.h+zend_parse_parameter%28&patternType=keyword&sm=0
[2] https://github.com/php-ds/ext-ds/pull/232
[3] https://github.com/libvips/php-vips-ext
[4] https://github.com/arnaud-lb/php-go