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:[EMAIL PROTECTED]] 
> Sent: Wednesday, February 05, 2003 11:53 AM
> To: Harald Radi
> Cc: [EMAIL PROTECTED]
> 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
> 
> 
> 


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to