Re: Stricter Error Checking?

From: Date: Wed, 23 Sep 2009 18:49:16 +0000
Subject: Re: Stricter Error Checking?
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-298299@lists.php.net to get a copy of this message
>> I think the problem is that he didn't check that the key he used >> actually existed before using the value it pointed to. So he got an >> empty string for $row['Number']; because the key should have been >> 'Part_Number'. I don't know that even E_STRICT would catch that one. >> >> Bob McConnell > > What? With E_ALL or E_STRICT: > > Notice: Undefined index: Number in file.php on line X > My bad, E_ALL only.

« previous php.general (#298299) next »