Skip to content

Conversation

@devnexen
Copy link
Member

since the stream is opened in non persistent mode, the failure code path is dead (so are the missing leaks fixes).

since the stream is opened in non persistent mode, the failure code path
is dead (so are the missing leaks fixes).
@devnexen devnexen marked this pull request as ready for review January 18, 2026 21:46
Comment on lines -1274 to -1279

if (stream) {
php_stream_to_zval(stream, return_value);
} else {
RETURN_FALSE;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a ZEND_ASSERT() ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants