You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually, it's more broad than only DOM.
The reason it fails for DOM is because the get_properties handler is not implemented, returning an array of undef zvals.
However, the following fails too:
class X {
publicint$a;
}
$x = newX;
var_dump(reset($x));
var_dump(current($x));
var_dump(end($x));
changed the title [-]Segmentation fault at main/spprintf.c:376 when reset dom child in JIT[/-][+]reset(), current(), end() can't handle UNDEF properties[/+]on Nov 23, 2024
Activity
ndossche commentedon Nov 23, 2024
Similar issue to that simplexml bug most likely.
Reduced to the following, which also works on 8.2:
ndossche commentedon Nov 23, 2024
Actually, it's more broad than only DOM.
The reason it fails for DOM is because the get_properties handler is not implemented, returning an array of undef zvals.
However, the following fails too:
[-]Segmentation fault at main/spprintf.c:376 when reset dom child in JIT[/-][+]reset(), current(), end() can't handle UNDEF properties[/+][-]reset(), current(), end() can't handle UNDEF properties[/-][+]Internal iterator functions can't handle UNDEF properties[/+]Fix phpGH-16905: Internal iterator functions can't handle UNDEF prope…
Fix GH-16905: Internal iterator functions can't handle UNDEF properties
Merge branch 'PHP-8.2' into PHP-8.3
Merge branch 'PHP-8.3' into PHP-8.4
Merge branch 'PHP-8.4'