Every now-and-then I find myself on the PHP operator precedence page and am reminded that these are different.
var_dump( true || true && false ); // bool(true)
var_dump( true || true AND false ); // bool(false)Code language: PHP (php)
It depends on what I am doing as to whether or not I agree with the architectural decision. Anyway, kids, don’t use AND or OR.