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