[php-src] PR #17962: Add a custom Fast ZPP specifier for php_streams
| From: | Girgias | Date: | Mon, 03 Mar 2025 16:12:57 +0000 |
| Subject: | [php-src] PR #17962: Add a custom Fast ZPP specifier for php_streams | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-30956@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/17962
Author: Girgias
This is based on an old idea from @sgolemon.
This would reduce the complexity of the conversion from resources to opaque objects for streams when
we finally get round to it.
The approach is similar to the one I did for the GMP extension functions that need to handle a
complex union of types which doesn't warrant a dedicated Zend ZPP specifier.
Some obvious follow-ups:
- A custom Fast ZPP specifier for stream contexts
- A custom Fast ZPP specifier for stream resource or non-empty string path