Just a quick questions please, that I can't find the answer to.
If I define a variable like the below example:
DEFINE('THIS_TEST', 'ABC');
What is the scope of this? Could I then use this with in a class/object function:
public function testFunction() {
echo THIS_TEST;
}
I have tried this in something similar but am not getting the results I was expecting, although this could be related to other issues.
Any advice would be appreciated.