PHP Error Constant E_WARNING

The PHP E_WARNING Constant is a non-fatal run time error and E_WARNING Constant has an Integer value 2. PHP engine doesn't halt the script execution when it arises and it logs the warning in error_log file. When an E_WARNING occurs, you may not lose whatever data the program was currently processing and it mostly occurs in failure of outsource like unknown file access, database authentication and wrong header information.