Hi, I'm pretty new to PHP, but I'm a master at PERL, so I basically have caught on to PHP pretty quickly. 🙂 But I have a simple question that I can't seem to find an answer to anywhere. It was easy enough in PERL...
I'm basically looking for a PHP equivalent of the PERL function not(). Where if an expression is false, it returns true.
Something like this:
if (not( array_key_exists('action', $IN) )) {
// some code to be executed
}
Any suggestions?