if ($a > 1 AND $a < 33 AND $a != 11) do_something();
We would still have to repeat $a.
Now, I think that if such a syntax existed, it couldn't be shorter than the current syntax anyway. I bet this is the reason why it wasn't implemented in PHP.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.