abstract class Person{ function hoge(){ $this->someProc(); $this->specialCase(); $this->someProc(); } abstract function specialCase(); } class Akkun extends Person{ function specialCase(){ echo "this is akkun class"; } } class Hirokun extends Person{ function specialCase(){ echo "this is hirokun class"; } }