--TEST-- JIT readonly modification post-inc with result --INI-- opcache.enable=1 opcache.enable_cli=1 --FILE-- bar = 1; var_dump($this->bar++); } } new Foo(); ?> --EXPECTF-- Fatal error: Uncaught Error: Cannot modify readonly property Foo::$bar in %s:%d Stack trace: #0 %s(%d): Foo->__construct() #1 {main} thrown in %s on line %d