--TEST-- Test complex class inheritance --SKIPIF-- --FILE-- 'bar', 88 => 'baz'); $p = new TestPimple($defaultValues); $p[42] = 'foo'; var_dump($p[42]); var_dump($p[0]); ?> --EXPECT-- string(13) "hit offsetset" string(27) "hit offsetget in TestPimple" string(25) "hit offsetget in MyPimple" string(3) "foo" string(27) "hit offsetget in TestPimple" string(25) "hit offsetget in MyPimple" string(3) "baz"