How construct is working here in my script?
If I am not using function __construct() then my script is giving output using function Cat(). What is the right way to use Construct?
class Cat
{
function Cat1()
{
echo 'wow-wow';
}
function Cat()
{
echo 'meow';
}
function __construct()
{
echo 'meow'."</br>";
echo 'You are reading this because I am in</br>$billi my mind came from class cat which is using</br> function __construct(). That was my origin ';
}
}
$billi= new Cat();