OK, I know this is stupid, but my diminished library cannot provide me an answer
.
Using PHP conventions, there are two (2) ways to indicate inequality, !$var==[somevalue] and $var<>[somevalue].
I recall from my corporate days that there is a difference 'twixt the two (2), but cannot for the life of me recall it
. In fact, those differences may not apply to PHP - I just cannot find an adequate reference
, so I'm consulting my ultimate reference: DC
.
There's a time to use $var<> and a time to use !$var==, but I simply cannot recall the rules and rationales
.
I've been rebuilding a box for someone, and need to rebuild some PHP code as best I can - catastrophic failure combined with inadequate - dare I say inane? - backups has produced a need to rebuild some corrupted code segments. Trying to understand the logic of the original (?) coder is made more difficult by the use of these two (2) conventions.
.Using PHP conventions, there are two (2) ways to indicate inequality, !$var==[somevalue] and $var<>[somevalue].
I recall from my corporate days that there is a difference 'twixt the two (2), but cannot for the life of me recall it
. In fact, those differences may not apply to PHP - I just cannot find an adequate reference
, so I'm consulting my ultimate reference: DC
.There's a time to use $var<> and a time to use !$var==, but I simply cannot recall the rules and rationales
.I've been rebuilding a box for someone, and need to rebuild some PHP code as best I can - catastrophic failure combined with inadequate - dare I say inane? - backups has produced a need to rebuild some corrupted code segments. Trying to understand the logic of the original (?) coder is made more difficult by the use of these two (2) conventions.









.
.
.
- carpe noctem

. At least, the next guy won't wonder why I did something, although he may have serious questions along the lines of, "Why he do that"? 