<?php if (!defined('IS_INITPHP')) exit('Access Denied!'); class Test{ public function hello(){ echo 'greet from test class'; } }