«»

Technicality

· 4TH OF OCTOBER, THE YEAR 2005

PHP NOTICES IN PHPPGADMIN

Just upgraded to PHP 4.4.0 and phpPgAdmin started spouting all of these stupid notices about passing variables by reference. Upgraded phpPgAdmin to no avail. Turns out phpPgAdmin/libraries/lib.inc contains the line
error_reporting(E_ALL);
Why would you do that when your own code generates a buttload of notices? I changed it to
error_reporting(E_ALL & ~E_NOTICE);

ONE COMMENT

Samat Jain said on October 8th, 2005 at 7:11 pm,

Just a heads up: this is now an error in PHP 5.0.5.