function die() { echo __METHOD__, "\n"; } function self() { echo __METHOD__, "\n"; } function parent() { echo __METHOD__, "\n"; } } $obj = new Obj(); $obj->empty(); $obj->callable(); $obj->trait(); $obj->extends(); $obj->implements(); $obj->const(); $obj->enddeclare(); $obj->endfor(); $obj->endforeach(); $obj->endif(); $obj->endwhile(); $obj->and(); $obj->global(); $obj->goto(); $obj->instanceof(); $obj->insteadof(); $obj->interface();
} static function die() { echo __METHOD__, "\n"; } static function self() { echo __METHOD__, "\n"; } static function parent() { echo __METHOD__, "\n"; } } Obj::empty(); Obj::callable(); Obj::trait(); Obj::extends(); Obj::implements(); Obj::const(); Obj::enddeclare(); Obj::endfor(); Obj::endforeach(); Obj::endif(); Obj::endwhile(); Obj::and(); Obj::global(); Obj::goto(); Obj::instanceof(); Obj::insteadof(); Obj::interface();