error_reporting(2047);

così ti stampa anche i notice ..