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
{{ message }}
Repository navigation
class_implements() of a subclass lists inherited interfaces in a different order than php. #243
class_implements() of a subclass lists inherited interfaces in a different order than php.
Repro
<?phpinterface I {}
interface J extends I {}
class A implements J {}
class B extends A {}
echojson_encode(class_implements('A')), "\n";
echojson_encode(class_implements('B')), "\n";
Expected (php)
{"J":"J","I":"I"}
{"I":"I","J":"J"}
Actual (manticore 485cc0b9, Darwin arm64)
{"J":"J","I":"I"}
{"J":"J","I":"I"}
Tracking
Known-bug repro: tests/aot/repro/wrong/class_implements_inherited_order.php — bash tests/aot/xfail.sh -k class_implements_inherited_order reports XFAIL while this is open and XPASS once it is fixed; then move the repro into tests/aot/cases/ and close this issue.
Activity
Repro #242 #243: class_implements of an interface misses its parents;…
Compile and serve a Symfony app natively: ownership/inference fixes, …