Re: cvs: pecl /perl README php_perl.c /perl/tests perl002.phpt perl007.phpt perl019.phpt perl020.phpt perl070.phpt

From: Date: Thu, 11 Mar 2004 09:41:49 +0000
Subject: Re: cvs: pecl /perl README php_perl.c /perl/tests perl002.phpt perl007.phpt perl019.phpt perl020.phpt perl070.phpt
References: 1 2 3  Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-1058@lists.php.net to get a copy of this message
On Thu, 11 Mar 2004, Andi Gutmans wrote: > At 09:27 AM 3/11/2004 +0100, Derick Rethans wrote: > >On Thu, 11 Mar 2004, Dmitry Stogov wrote: > > > > > dmitry Thu Mar 11 03:12:01 2004 EDT > > > > > > Added files: > > > /pecl/perl/tests perl070.phpt > > > > > > Modified files: > > > /pecl/perl README php_perl.c > > > /pecl/perl/tests perl002.phpt perl007.phpt perl019.phpt > > > perl020.phpt > > > Log: > > > Using PHP exceptions to report Perl errors. > > > >hmm? I thought we agreed on not throwing exceptions from internal > >functions. I don't think it's a good idea to have the perl extension > >being an exception to this. > > We throw them in SOAP, DOM, SPL, Reflection etc... But both of these are all "pure" OO extensions, throwing an exception for a SOAP fault makes sense. But why create an exception out of a normal perl error? That sounds wrong to me as it creates something that isn't originally there. (If perl throws an exception, than throwing an exception in PHP is fine of course). regards, Derick

« previous php.pecl.cvs (#1058) next »