PHP === What can I say? It's `Personal Home Page Tools `__. That's what it is good for. Personal home pages where you inject dynamic stuff into static HTML. But not for much more. Unfortunately I am forced to "work" with this language and here I collect some Nice Features (tm) that I found over time. System Exit ----------- Scripts should exit with 0 on success and 1 on error. Good enough for most cases as you can put detailed messages on stdout or stderr respectively. See http://tldp.org/LDP/abs/html/exitcodes.html. PHP:: php <renderException($e); $statusCode = $e->getCode(); exit(is_numeric($statusCode) && $statusCode ? $statusCode : 1); } So any task that dies because of an SQL Error returns with exit code 0. Good luck finding this in your CI jobs. .. [1] http://us1.php.net/PDOException#95812