Quantcast
Viewing all articles
Browse latest Browse all 3205

error_reporting (2 replies)

WIN 10, wampserver 3.2.7 64 bit

been using php 8.1.2 fine for several weeks, nothing has changed

then suddenly error_reporting is defaulting to E_ALL. while PHP.ini is still at E_ALL & ~E_NOTICE

tried putting E_ALL & ~E_NOTICE into my php programs didnt work

tried error_reporting(32757); in my program, that worked

tried error_reporting = 32757 in php.ini, and that solved it

very odd !

same thing applies to php 8.0
php 7.4.13 is working properly with E_ALL & ~E_NOTICE in php.ini

Viewing all articles
Browse latest Browse all 3205

Trending Articles