class Studen { const NAME = "张三"; public function Show() { echo Studen::NAME; } } $stu = new Studen(); $stu->Show();
输出:
张三
阅读: 20062
阅读: 17198 评论:1
阅读: 16373
阅读: 16350
阅读: 15751
阅读: 15522
扫扫关注微信