Nothing Special   »   [go: up one dir, main page]

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

No ReflectionProperty::IS_VIRTUAL in 8.4 #16162

Closed
vudaltsov opened this issue Oct 2, 2024 · 2 comments
Closed

No ReflectionProperty::IS_VIRTUAL in 8.4 #16162

vudaltsov opened this issue Oct 2, 2024 · 2 comments

Comments

@vudaltsov
Copy link
Contributor

Description

I am working on PHP 8.4 support for Typhoon Reflection and I've noticed that ReflectionProperty::IS_VIRTUAL from the RFC is currently missing. Is this behavior expected?

The following code:

var_dump(ReflectionProperty::IS_VIRTUAL);

Resulted in this output:

Uncaught Error: Undefined constant ReflectionProperty::IS_VIRTUAL

But I expected this output instead:

int(XXX)

PHP Version

PHP 8.4.0-dev (cli) (built: Sep 24 2024 14:38:59)

Operating System

MacOS

@DanielEScherzer
Copy link
Contributor

Good catch - I'll send a patch shortly

DanielEScherzer added a commit to DanielEScherzer/php-src that referenced this issue Oct 2, 2024
@DanielEScherzer
Copy link
Contributor

PR at #16166

@cmb69 cmb69 linked a pull request Oct 2, 2024 that will close this issue
DanielEScherzer added a commit to DanielEScherzer/php-src that referenced this issue Oct 7, 2024
iluuu1994 added a commit that referenced this issue Oct 7, 2024
* PHP-8.4:
  Fix GH-16162: No ReflectionProperty::IS_VIRTUAL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants