// silencias la funcion @foo($bar, $candy); if ( ! is_file($candy) or ! file_exists($candy)) { // ¿algo ocurrio? }