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
is_object() answers false for an enum case (php: true). #319
is_object() answers false for an enum case (php: true).
Repro
<?phpenum Suit: string { case H = 'h'; }
var_dump(is_object(Suit::H));
Expected (php)
bool(true)
Actual (manticore 6be1853b, Darwin arm64)
bool(false)
Tracking
Known-bug repro: tests/aot/repro/wrong/is_object_enum_case.php — bash tests/aot/xfail.sh -k is_object_enum_case 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
Performance sweep of basic functions: quadratic behaviour removed, O(…