1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/main
Tim Düsterhus 6b3f302132 streams: Re-add support for arbitrary metadata for stream notifier functions (#19158)
Support for attaching arbitrary metadata for consumption by stream notifier
functions got broken in php/php-src#19024 when the previous `zval ptr` got
changed to `zend_fcall_info_cache *fcc`, making the data specific to the
`user_space_stream_notifier`.

Fix this by changing the field to `void *ptr`, avoiding the indirection through
a `zval`, but preserving the ability to store arbitrary data. If necessary to
support different types than `IS_PTR`, extensions can heap-allocate a `zval` to
store within `->ptr` as a minimal change to keep compatibility with PHP 8.4 or
lower.
2025-07-17 23:01:43 +02:00
..
2024-05-19 22:57:08 +02:00
2025-02-15 10:12:34 +00:00
2024-11-14 20:36:23 +01:00
2024-11-18 20:53:28 +01:00
2025-06-09 22:05:21 +02:00
2025-05-21 19:39:02 +02:00
2025-03-29 13:29:40 +01:00
2025-04-21 13:20:45 +02:00
2025-06-21 20:17:15 +02:00
2024-11-18 20:53:28 +01:00
2024-12-01 11:00:17 +01:00
2024-10-06 19:43:19 +01:00
2024-02-08 12:08:07 +01:00
2023-01-16 12:27:33 +01:00