dsyk33753
dsyk33753
2018-06-26 20:20
浏览 66
已采纳

这是PHP中的常量?

Use MyClass::class in PHP is a constant? I'm curious because the syntax is the same for access class constants.

PS: MyClass is just a example.

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • dqve65954
    dqve65954 2018-06-26 20:25
    已采纳

    I guess you mean the $className = MyClass::class;

    It's a class constant.

    点赞 评论

相关推荐