For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > November 2007 > Re: [PHP-DEV] Re: Quick question before submitting a feature request...









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-DEV] Re: Quick question before submitting a feature request...
Alexey Zakhlestin

2007-11-23, 7:01 pm

On 11/23/07, Edward Z. Yang <edwardzyang@thewritingpot.com> wrote:
> I understand this solution won't work if application
> Exceptions don't have a common parent class, but this is already
> recommended as a good practice.


In PHP all exceptions have "Exception" as a parent-class

--
Alexey Zakhlestin
http://blog.milkfarmsoft.com/
Edward Z. Yang

2007-11-23, 7:01 pm

Alexey Zakhlestin wrote:
> In PHP all exceptions have "Exception" as a parent-class


Indeed you are right! Even better.

--
Edward Z. Yang GnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
[[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com