Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

main/streams: Move definitions to reduce ext/standard dependency and add new API #18097

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Girgias
Copy link
Member

@Girgias Girgias commented Mar 17, 2025

This includes some of the commits of #17964 and a new inline function instead of doing #18079.

Girgias added 3 commits March 17, 2025 14:31

Verified

This commit was signed with the committer’s verified signature.
Girgias Gina Peter Banyard
From ext/standard/file.h to main/streams/php_stream_context.h
This reduces some dependency of main/ on ext/standard

Verified

This commit was signed with the committer’s verified signature.
Girgias Gina Peter Banyard

Verified

This commit was signed with the committer’s verified signature.
Girgias Gina Peter Banyard
…al without errors

This is intended to replace the few manual usages of zend_fetch_resource2_ex() to fetch a php_stream from a zval.
This will simplify the conversion from resource to object for streams when this actually happens.
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.

None yet

1 participant