i want to know if exist function to know if my file have errors before include it just on the script as code bellow
if (file.php==errors ){echo"this file contain errors"} else { include("file.php");}
i want to use this php script to know if my file.php contain errors , if it contain't errors i will not include it , else i include it .