I have simple function say
function ABC()
{
//Somecode;
return $a;
}
and i have class
class XYZ {
}
What i want to do is call function ABC in class XYZ and assign return value to some variable in class XYZ and use there like :
class XYZ {
$var = ABC();
}