I’m trying to mirror my ISPs server and he has this set to strict, where you need to specify $
And I don’t
What is it ?
EDIT
This works on my test server
if (nothingfound != "TRUE") {
but doesn’t on the live server
if ($nothingfound != "TRUE") {
Both are running PHP 5.2.17 (no I can’t upgrade to 5.3 at the moment)
actually only works because PHP will look for a constant called
nothingfoundand if it doesn’t find one, it’ll treat the token as the literal string'nothingfound'. Depending on yourerror_reportingPHP will issue a notice such asSo to stick with your example
works, but
will never work (unless you have a constant
nothingfounddefined that contains the string"TRUE").