[24.10.2006 00:00] Simon Mundy wrote:
On 24/10/2006, at 4:51 AM, Darby Felton wrote:

It is a minor issue, of course, but instead of using the is_null()
function, we should instead use the strict equivalence operators (===
and !==) to test against null values:

Hi Darby - what's the difference? The manual suggests they're identical.

If you do a benchmark you'll see is_null() is slower, because function calls are not cheap in PHP. I guess optimizers change is_null () to === null.

nico

Reply via email to