我有这个方法,我想使用$ this,但我得到的是:致命错误:当不在对象上下文中时使用$ this.
我怎样才能让它发挥作用?
public static function userNameAvailibility() { $result = $this->getsomthin(); }
php oop static-methods this
oop ×1
php ×1
static-methods ×1
this ×1