I wanna to use this way but i have a problem , function __construct()
dosn't work ? Why ?
class user{
function __construct(){
define('HI', 'hello');
}
static function say_hi(){
echo HI ;
}
}
user::say_hi();// Out put should be : hello