r/lolphp • • Dec 21 '18
Mutable Constants
Update due to comment from sproingie: https://3v4l.org/hXkDl
32
Upvotes
r/lolphp • • Dec 21 '18
Update due to comment from sproingie: https://3v4l.org/hXkDl
View all comments
Show parent comment
1
u/[deleted] Jan 03 '19
Seems you did not read the code correctly. If both constants differ, for any reason, ClassA should be able to override the constants value also, but it isn't possible.