Discussion: Array set as class member not accessible from internal class methods
In the previous quiz, Online PHP Quiz, we tested our experience gained from the course.
2 messages from 2 displayed.
//= Settings::TRACKING_CODE_B ?> //= Settings::TRACKING_CODE ?>
In the previous quiz, Online PHP Quiz, we tested our experience gained from the course.
I solved the issue. Turns out I was calling the method statically using the :: operator rather than the -> operator.
2 messages from 2 displayed.