--TEST-- Testing magic methods __set, __get and __call in cascade --FILE-- a ->b() ->c = 1; var_dump(test::$i); ?> --EXPECT-- int(4)