Re: type hinting throwing a fatal error
From: Tobias Schlitt Date: Mon, 08 Aug 2005 13:04:59 +0000 Subject: Re: type hinting throwing a fatal error References: 1 2 3 4 5 6 Groups: php.internals Request: Send a blank email to internals+get-17595@lists.php.net to get a copy of this message
Hi Sebastian Bergmann! On 08/08/05 13:32 you wrote: >>Won't work, SPL can be disabled. > The throw an Exception when SPL disabled and an InvalidArgumentException > when it is enabled. That's senseless when writing applications that shall be version independant. Just sticking to Exception should be fine. Regards, -- Tobias Schlitt - Zend Certified Engineer GPG Key: 0xA6529579 a passion for php http://www.schlitt.info Like to say "thank you"? - http://pear.php.net/wishlist.php/toby
Thread (125 messages)
| « previous | php.internals (#17595) | next » |
|---|