Originally posted by Angry Coder
Thanks guys...
What about creating an object instead of a constant. Is it possible to get its content also?!
Objects are stored in variables so, no, not if you unset it when you're done! (There you go; bundle all your licensing code into a single class and keep all the sensitive stuff as properties within that.)
I dunno if the optimizer does this, but I wouldn't be surprised: if the sensitive values are declared in the class definition itself ("var $foo='bar';") any instances of "$this->foo" in the class definition may be replaced with 'bar' itself - then not only is there no constant with a value of 'bar' but there's no variable either - either inside or outside the class - because it's been hardwired directly into the code!)