Re: cvs: pear /Log/Log sql.php
| From: | Jon Parise | Date: | Sun, 01 Dec 2002 04:51:03 +0000 |
| Subject: | Re: cvs: pear /Log/Log sql.php | ||
| References: | 1 2 | Groups: | php.pear.cvs |
| Request: | Send a blank email to pear-cvs+get-7705@lists.php.net to get a copy of this message | ||
On Sat, Nov 30, 2002 at 10:38:52PM +0000, Jon Wood wrote:
> Should this code actually die, or just return an error... I don't think
> there are many people who want their sites die'ing around the place.
I'm still debating it's implementation (which is why you haven't seen
a release of Log 1.5.3 yet). I'm also still on pseudo-vacation for
the next couple of days, but that's a separate issue. =)
I (personally) think that the PEAR_Error mechanism is ugly and kludgy,
so I think I would prefer the function to return (true|false),
depending on the success of the log insertion attempt.
--
Jon Parise (jon@php.net) :: The PHP Project (http://www.php.net/)