if with && in php code example Example: if not php $a = true; if(!$a) { echo "False"; // Will return this } else { echo "True"; }