[php-src] PR #24027: streams: refactor _php_userstream_data struct to hold zend_object* instead of zval
| From: | Girgias | Date: | Wed, 30 Sep 2026 17:02:52 +0000 |
| Subject: | [php-src] PR #24027: streams: refactor _php_userstream_data struct to hold zend_object* instead of zval | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-39009@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/24027
Author: Girgias
This reduces the struct size from 24 to 16 bytes.
Using a zend_object* directly also ensures no other zval type could possibly be used.