Published:
February 23, 2011How to check PHP error before including any file in your script
Suppose you want to include/require any file in your scripts, But before doing so you want to confirm that the included or required file doesn’t contain error. Then in that case you can use the below code to do the same.
/* Implementation */