Re: OO in PHP5 (was "zend_API.c" on php-dev)

From: Date: Thu, 06 Feb 2003 04:34:56 +0000
Subject: Re: OO in PHP5 (was "zend_API.c" on php-dev)
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-94050@lists.php.net to get a copy of this message
Timm, > Conclusion: Don't even try to write exception classes for PHP5 in C. You > will never please all of the users' needs - so simply leave it up to > them. im curious about why you take such a strong exception <g> to built-in exceptions. are you suggesting that all C based objects use zend_error and leave it to the user to convert errors to exceptions if need be ? could your objections be limited to classes designed to be inherited ? im asking because ive already created a slew (well actually a few) PHP5 C classes which raise exceptions derived from a base exception type defined in the module. for the most part (except for programming incompetence on my end), there would not be a need to inherit from them l0t3k

« previous php.dev (#94050) next »