Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:41783 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22981 invoked from network); 9 Nov 2008 19:30:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Nov 2008 19:30:39 -0000 Received: from [127.0.0.1] ([127.0.0.1:12997]) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ECSTREAM id 92/30-61271-F5A37194 for ; Sun, 09 Nov 2008 14:30:39 -0500 X-Host-Fingerprint: 75.186.93.253 cpe-75-186-93-253.cinci.res.rr.com Received: from [75.186.93.253] ([75.186.93.253:19552] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DE/97-61271-EB727194 for ; Sun, 09 Nov 2008 13:11:11 -0500 Message-ID: To: internals@lists.php.net Date: Sun, 09 Nov 2008 13:10:51 -0500 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 75.186.93.253 Subject: where to request small enhancements? From: jaimz@vertigolabs.org (James Murray) I'm not a C++ or C programmer, however I have made an extension that exposes a complimentary function to error_get_last, error_clear_last. It's a super useful function, specially if you're trying to detect things like "white pages" It's a much needed function for people that write their own error reporters. Considering the last error doesn't clear until the error reporter returns true, so there could be cases where someone's custom error reporter could be reporting the same error stored in $php_errormsg many times. regardless of your usage, users should have the ability to clear the 'last error' at their will. ANYWAY where would I post something like this? I don't want to put up my code because a.)I can't find it anymore and b.)it'd probably be embarrassing to show my crap C! -James