I would like to ask can I require/include a file that has syntax errors and if I cant, the require/include returns a value so that I know that the required/included file has syntax errors and cannot be required/included ?
file.php has syntax error
include('file.php')
if (not file.php included because of syntax)
this
else
that