有人可以在OOP上下文中提供方法与函数的简单解释吗?
language-agnostic oop methods terminology function
我一直$this在PHP中看到变量,我不知道它用于什么.我从来没有亲自使用它,搜索引擎忽略了这一点$this,我最终搜索了"this"这个词.
$this
有人能告诉我变量$这在PHP中是如何工作的吗?
php oop class this
oop ×2
class ×1
function ×1
language-agnostic ×1
methods ×1
php ×1
terminology ×1
this ×1