PHP self:: vs static::

来源:互联网 发布:各大网络负面消息列表 编辑:程序博客网 时间:2024/05/16 08:33

PHP self:: vs static::
self just means current method’s container class’s context
static means the caller’s context, it will set when you real call it with get_called_class method

0 0