How 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 */

Leave your comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.