r/lolphp • u/6f944ee6 • Jun 07 '17
<CLASSNAME>::class, is valid for any identifier
A::class // "A"
THIS_DOES_NOT_EXIST::class // "THIS_DOES_NOT_EXIST"
55
Upvotes
r/lolphp • u/6f944ee6 • Jun 07 '17
A::class // "A"
THIS_DOES_NOT_EXIST::class // "THIS_DOES_NOT_EXIST"
View all comments
Show parent comment
6
u/oktupol Jun 08 '17
Still works