Vylepseny require/include

Hrabu se hrabu na zend.com a co nenalezam? Nove fce v php5, tak to stouram a pak mi z toho vyslo toto:
function req($filename) {
$error="Sorry, the requested file couldn't be included!";
$err=file_exists($filename)? 0 : 1;
$err=php_check_syntax($filename)? 0 : 1;
if ($err) {
die ($error);
} else require $filename;
}

function req2($filename) {
$error="Sorry, the requested file couldn't be included!";
if (!file_exists($filename) OR !php_check_syntax($filename)) {
die ($error);
} else require $filename;
}


Obe fce delaj to samy, ale obe jsou jinak prehledny.
Berte tu druhou fci, ta prvni je spatne
Přijde mi to zbytečný.
Garofano: Ja vim, kazdej si scripty checkuje, ale co kdyby?
Třeba nechápu smysl kontroly file_exists, to jen nahradí

Fatal error: main(): Failed opening required 'bleblebl.php'.......

Sorry, the requested file couldn't be included!
Nahradi, 1. To nevypada tak blbe 2. Muzes tam mit chyby v syntaxi...
to je fakt vyhra ...