Closed lord2800 closed 11 years ago
The class constants need to be prefixed with self:: (or the class name, but self:: makes it always do the right thing if Analog gets subclassed), otherwise PHP doesn't recognize DEBUG et. al. as class constants and throws a fit.
Thanks!
No problem! Just glad to help.
Can you make a version in packagist for this?
Ah yes! Should be up as 1.0.2-stable now :)
muchas graçias
The class constants need to be prefixed with self:: (or the class name, but self:: makes it always do the right thing if Analog gets subclassed), otherwise PHP doesn't recognize DEBUG et. al. as class constants and throws a fit.