Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45702 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96365 invoked from network); 8 Oct 2009 22:23:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Oct 2009 22:23:09 -0000 Authentication-Results: pb1.pair.com header.from=christopher.jones@oracle.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=christopher.jones@oracle.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain oracle.com from 141.146.126.233 cause and error) X-PHP-List-Original-Sender: christopher.jones@oracle.com X-Host-Fingerprint: 141.146.126.233 acsinet11.oracle.com Received: from [141.146.126.233] ([141.146.126.233:25451] helo=acsinet11.oracle.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8D/72-17056-B466ECA4 for ; Thu, 08 Oct 2009 18:23:08 -0400 Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by acsinet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n98MNFQa026912 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 8 Oct 2009 22:23:16 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n98JUuaT003719; Thu, 8 Oct 2009 22:23:01 GMT Received: from abhmt005.oracle.com by acsmt355.oracle.com with ESMTP id 20299857721255040533; Thu, 08 Oct 2009 15:22:13 -0700 Received: from [130.35.70.19] (/130.35.70.19) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 08 Oct 2009 15:22:12 -0700 Message-ID: <4ACE6613.808@oracle.com> Date: Thu, 08 Oct 2009 15:22:11 -0700 User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Samuel ROZE CC: internals@lists.php.net References: <1255038690.10759.9.camel@samuel-laptop> In-Reply-To: <1255038690.10759.9.camel@samuel-laptop> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: acsmt356.oracle.com [141.146.40.156] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090206.4ACE6644.0194:SCFMA4539814,ss=1,fgs=0 Subject: Re: [PHP-DEV] Patch: Use notices in PDO From: christopher.jones@oracle.com (Christopher Jones) Samuel ROZE wrote: > Hi, > > I've make a patch which insert notices concepts to PDO. It create: > - PDO::noticeInfo() - to be like errorInfo > - PDO::ATTR_LOG_NOTICES, the name of the PDO parameter > - PDO::NOTICES_FETCH - fetch notices I initially took "FETCH" to mean it was related to a query; this wouldn't always be the case. What about calling it NOTICES_ENABLE? Chris -- Blog: http://blogs.oracle.com/opal Twitter: http://twitter.com/ghrd