- Original Message -
From: "Shawn McKenzie"
To:
Cc:
Sent: Saturday, April 17, 2010 3:41 AM
Subject: Re: changing NULL behavior in PHP arithmetic
On 04/15/2010 02:46 AM, cr.vege...@gmail.com wrote:
Hi All,
Is there an option in PHP to change the behavior of NULL in PHP functions
On 04/15/2010 02:46 AM, cr.vege...@gmail.com wrote:
> Hi All,
>
> Is there an option in PHP to change the behavior of NULL in PHP functions ?
> Now PHP uses NULL as a 0 (zero) for arithmetic, for example:
> NULL + 6 = 6
> NULL * 6 = 0
> NULL / 6 = 0
> 6 / NULL = Division by zero
>
> What I need i
2 matches
Mail list logo