if (foo()) { foo() returned a true value } if (!bar()) { bar() returned a false value } $DEBUG = 1; if ($DEBUG) { ... }