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