OK, the question is simple though I can't find a real working solution.
I want to be able to define
something while invoking a specific script.
I have tried it like php -d DEBUG_ON myscript.php
but it's not working (when testing if (defined("DEBUG_ON")) { }
inside the script, it returns false
)
Also tried something along the lines of php -r ('define("DEBUG_ON",1);') myscript.php
; which doesn't work either.
So, any ideas? (Or any suggestions on how I could achieve the very same effect?)