So I have a class
class MyLog{
public static log($message)
{
//...do logging.
}
}
also
namespace ASpace;
class Foo{
public function __construct()
{
\MyLog::log('message'); //common usage
//is this more correct as teh String object is int he global space? note the \ in the call
\MyLog::log(\'message');
}
}
is it any faster/better to add the \ inside the parameter as in the second call to log int he Foo class?