--TEST-- Test typed properties work fine with simple inheritance --FILE-- a); $o->a = "a"; ?> --EXPECTF-- int(1) Fatal error: Uncaught TypeError: Cannot assign string to property A::$a of type int in %s:%d Stack trace: #0 {main} thrown in %s on line %d