-
Notifications
You must be signed in to change notification settings - Fork 661
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
New elements in array returned by gc_status()
#10022
Comments
Hey @sebastianbergmann, can you reproduce the issue on https://psalm.dev ? |
Are you sure Psalm is running in 8.3 in analysis? gc_status was changed already here: https://github.com/vimeo/psalm/pull/9366/files |
That commit seems to only add 4 of the 8 fields. The other 4 were added today: php/php-src#11523 |
Thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In PHP 8.3, the array returned by the
gc_status()
function has 8 additional elements:running
(bool
),protected
(bool
),full
(bool
),buffer_size
(int
),application_time
(float
),collector_time
(float
),destructor_time
(float
), andfree_time
(float
).Running Psalm on PHP 8.3 specific code in PHPUnit, I currently get:
The text was updated successfully, but these errors were encountered: