Variable Visions

Articles PHP PHP-Error-Reporting


tutorials - PHP and Web-Development.

PHP Error Reporting

Published Sun. Sep. 02, 2012


While testing, use these to report PHP errors and notices on screen.

//THIS REPORTS ALL NOTICES AND ERRORS
error_reporting(-1);

//THIS REPORTS ALL ERRORS BUT NOT NOTICES
error_reporting(E_ALL & ~E_NOTICE);


Tag(s): PHP Error Reporting



RECENT ARTICLES:

PUBLISHED ON 03.3.20arrowWordpress and Woocommerce widget for inserting PHP in Elementor

PUBLISHED ON 09.5.19arrowWordpress and Woocommerce redirect to a product page from categories with a single product

TAGS

CATEGORIES