-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Assertion failure in ext/reflection/php_reflection.c:487 #16187
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
Comments
Minimal reproduction: <?php
$xml = '<form name="test"></form>';
$simplexml = simplexml_load_string($xml);
$reflector = new ReflectionObject($simplexml['name']);
$reflector->__toString(); produces
|
The assertion comes from a series of macros, |
DanielEScherzer
added a commit
to DanielEScherzer/php-src
that referenced
this issue
Oct 3, 2024
PR is at #16192, I confirmed that it also fixes the reported code (now results in the output |
DanielEScherzer
added a commit
to DanielEScherzer/php-src
that referenced
this issue
Oct 4, 2024
DanielEScherzer
added a commit
to DanielEScherzer/php-src
that referenced
this issue
Oct 4, 2024
nielsdos
added a commit
that referenced
this issue
Oct 5, 2024
* PHP-8.4: Fix GH-16187: ReflectionClass::__toString() with packed properties hash table
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
The following code:
Resulted in this output:
PHP Version
PHP 8.4.0-dev
Operating System
ubuntu 22.04
The text was updated successfully, but these errors were encountered: