What happens when we calling non-static functions with static way?
Like this :
class test
{
public function hello()
{
return "say hello";
}
}
class foo
{
public function __construct()
{
echo test::hello();
}
}
$foo = new foo();