[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-general
Subject:    Re: [PHP] phpsadness
From:       Robert Cummings <robert () interjinn ! com>
Date:       2011-05-31 19:48:06
Message-ID: 4DE545F6.1060701 () interjinn ! com
[Download RAW message or body]

On 11-05-31 02:54 PM, Daniel Brown wrote:
> On Sun, May 29, 2011 at 14:56, Robert Cummings<robert@interjinn.com>  wrote:
>>
>> Personally, I prefer the exception. Logically, I can take 0 from something
>> an infinite number of times... zero seems a far cry from this. To properly
>> determine the intent of a division by zero, I think the programmer SHOULD
>> have to handle it.
>>
>> Personally, I don't see 0 as acceptable. It suggests improper boundary
>> checking.
>
>      I'd like to see a patch against the core, or perhaps a PECL
> module, that allows the use of explode() with empty parameters, which
> will then cause the physical machine on which the code is hosted to
> detonate itself.  Unfortunately, it's unlikely we'll see that in the
> 5.3 branch.

Sounds like feature blowt!

Cheers,
Rob.
-- 
E-Mail Disclaimer: Information contained in this message and any
attached documents is considered confidential and legally protected.
This message is intended solely for the addressee(s). Disclosure,
copying, and distribution are prohibited unless authorized.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic