Skip to content

Conversation

Girgias
Copy link
Member

@Girgias Girgias commented Dec 28, 2022

Currently, all invalid types return false silently and do not follow the normal ZPP semantics.

We implement ZPP handling for the int part manually so that we can throw proper type errors in PHP 9 and use the usual ZPP mechanism if streams get converted from resources to objects.

@Girgias Girgias force-pushed the posix-zpp branch 3 times, most recently from 887d3ef to e39db04 Compare December 30, 2022 16:16
Copy link
Member

@cmb69 cmb69 left a comment

Choose a reason for hiding this comment

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

Thank you! Looks good to me.

@Girgias Girgias merged commit 31e7d6e into php:master Jan 4, 2023
@Girgias Girgias deleted the posix-zpp branch January 4, 2023 19:55
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