$rc = func(); if ($rc != 0) { die "Failed to func!"; }