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
<?phpfinalclass S { publicfunction__toString(): string { return"x"; } }
var_dump(newS() == "x", "x" == newS(), newS() == "y");
Expected (php 8.5)
bool(true)
bool(true)
bool(false)
Actual (manticore 10affa68, macOS arm64)
bool(false)
bool(false)
bool(false)
Tracking
Known-bug repro: tests/aot/repro/wrong/object_string_compare.php — bash tests/aot/xfail.sh -k object_string_compare 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