Turn off all errors using PHP

If you want to turn off all the warning or errors which shows on the dynamic pages, so you can do it with the help of PHP Function.

The Function is:
error_reporting(0);
You can use it, Where your coding is working well but showing the warning and other errors, So there you can use this function. By this function no one error or warning will be display.

Complete Code:

<?php
error_reporting(0);
?>


To seek challenging roles and to achieve excellence in the field of Open Source Web Technology with a profound spirit of commitment and dedication.

Share This Post

Recent Articles

© 2017 Sumit Bansal. All rights reserved. Site Admin · Entries RSS · Comments RSS
Powered by WordPress · Designed by Theme Junkie