Re: Re: Raising errors inside a constructor

From: Date: Sun, 15 Aug 2004 22:43:45 +0000
Subject: Re: Re: Raising errors inside a constructor
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-32696@lists.php.net to get a copy of this message
Lukas Smith wrote:
Olivier Guilyardi wrote: I see no point in creating an object instance if it isnt needed anyways or add some hack. For php5 you can raise an exception to get rid of the hack.
The method I expose isn't a hack. Sorry though, I didn't take php5 exceptions into account before posting in here. I always use the great bug-free & krash-proof Debian Stable for production servers, and really prefer to stay with the official default packages (understand: php4). Of course, since Debian has a _very_ strict testing cycle before accepting anything in its stable distribution, I don't think we're gonna see php5 arriving before a long time... Maybe, I'll give it a try, compiling from source, or installing some unofficial package, but honestly, only _one_ segfault and I'll downgrade. But... as the Linux Kernel development remains active for the 2.4 series (I like provocative comparisons ;-), shouldn't PEAR continue to provide helpful features for php4 ? -- og

« previous php.pear.dev (#32696) next »