RE: [PHP-DEV] OO in PHP5 (was "zend_API.c" on php-dev)
| From: | Harald Radi | Date: | Thu, 06 Feb 2003 02:05:08 +0000 |
| Subject: | RE: [PHP-DEV] OO in PHP5 (was "zend_API.c" on php-dev) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-94049@lists.php.net to get a copy of this message | ||
if you want to throw an exception you necessarily have to declare an exception
class. but i still don't get the difference wheter this is done in c or php
code and how it actually fits into the original discussion which was about a
completely different thing.
regards,
Harald Radi
--
nme - we can heal you
http://www.nme.at
Ortner Radi Schwenk GnbR
Tumpenweg 528
5084 Grossgmain, Salzburg
Austria
> -----Original Message-----
> From: Timm Friebe [mailto:thekid@thekid.de]
> Sent: Wednesday, February 05, 2003 11:53 AM
> To: Harald Radi
> Cc: php-dev@lists.php.net
> Subject: Re: [PHP-DEV] OO in PHP5 (was "zend_API.c" on php-dev)
>
>
> On Tue, 2003-02-04 at 13:05, Harald Radi wrote:
> > ?
> >
> > harald
>
> Well, you were talking about throwing exceptions from within C
> sourcecode, weren't you? You would need a zend_class_entry to throw -
> but what should this point to? You would probably go ahead and declare
> an exception class (in your extension, in the Zend Engine?) -
> which I do
> not think of as a good idea due to the mentioned reasons.
>
> - Timm
>
>
>