[PHP] Re: changing NULL behavior in PHP arithmetic

2010-04-16 Thread cr.vegelin
- 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

[PHP] Re: changing NULL behavior in PHP arithmetic

2010-04-16 Thread Shawn McKenzie
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