{"description":"\u30bf\u30a4\u30c8\u30eb\u304c\u99ac\u9e7f\u3067\u3059\u304c\u3001\u3046\u307e\u304f\u8aac\u660e\u3067\u304d\u306a\u3093\u3060\u3002 private <?php class super { public function __construct() { $this->p(); } private function p() { print \"super<br />\"; } } class sub extends super { private function p() { print \"sub<br />\"; } } $o = new super(); //super $o = new sub(); //super protected(public) <?php class sup\u2026","version":"1.0","author_name":"oinusama","published":"2011-05-18 00:00:00","height":"190","url":"https://oinusama.hatenadiary.org/entry/20110518/p1","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Foinusama.hatenadiary.org%2Fentry%2F20110518%2Fp1\" title=\"\u7d99\u627f\u3055\u308c\u305f\u30e1\u30bd\u30c3\u30c9\u306e\u30a2\u30af\u30bb\u30b9\u4fee\u98fe\u5b50\u3067\u3001\u89aa\u304b\u5b50\u306e\u3069\u3061\u3089\u304c\u547c\u3070\u308c\u308b\u304b\u5909\u308f\u308b\u4ef6 - \u304a\u3082\u3057\u308d\u65e5\u8a18\u30d1\u30ef\u30fc\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/oinusama/","image_url":null,"provider_url":"https://hatena.blog","categories":["PHP","OOP"],"type":"rich","blog_title":"\u304a\u3082\u3057\u308d\u65e5\u8a18\u30d1\u30ef\u30fc","width":"100%","blog_url":"https://oinusama.hatenadiary.org/","title":"\u7d99\u627f\u3055\u308c\u305f\u30e1\u30bd\u30c3\u30c9\u306e\u30a2\u30af\u30bb\u30b9\u4fee\u98fe\u5b50\u3067\u3001\u89aa\u304b\u5b50\u306e\u3069\u3061\u3089\u304c\u547c\u3070\u308c\u308b\u304b\u5909\u308f\u308b\u4ef6"}