topic description
A method under the constructor (non-static method) does not want to execute the constructed method
related codes
/ / Please paste the code text below (do not replace the code with pictures)
class website extend site
{
public function __construct()
{
echo "site";
}
public function distgoods()
{
echo "123";
}
}
what does the distgoods () method do without it to execute the constructor