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
Reading a typed property that was never initialised answers the zero of its type instead of throwing #417
Error: Typed property A::$x must not be accessed before initialization
Error: Typed property A::$s must not be accessed before initialization
Actual (manticore 35461ba2, Darwin arm64)
int(0)
NULL
Tracking
Known-bug repro: tests/aot/repro/wrong/typed_property_read_before_init_returns_zero.php — bash tests/aot/xfail.sh -k typed_property_read_before_init_returns_zero 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
Add repros for typed-property init, nullable typed constants, __get f…