Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45920 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40343 invoked from network); 31 Oct 2009 10:09:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Oct 2009 10:09:01 -0000 Authentication-Results: pb1.pair.com header.from=indeyets@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=indeyets@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.219.216 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: indeyets@gmail.com X-Host-Fingerprint: 209.85.219.216 mail-ew0-f216.google.com Received: from [209.85.219.216] ([209.85.219.216:54662] helo=mail-ew0-f216.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 20/11-31695-CBC0CEA4 for ; Sat, 31 Oct 2009 05:09:01 -0500 Received: by ewy12 with SMTP id 12so1524424ewy.24 for ; Sat, 31 Oct 2009 03:08:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=ClXV0BrmglDCR28K5eUmdmzdioiTDmGNoIPIcQQS8Bc=; b=f2/qoiC5OdCNOl6y+qxVakIyKXx1Y43O8N/hekJKXecy5BY0QEjgGIbVmkprDXUs+E /uV3HTUUHtYX/0ujM18iAfOGRWUFhL0lK/a11Mr1wTVFJOc4DynksNv1DY0fywH+TLjz zc/9QMs978m2gEA9HhJwbMgnJMMZGeqwWxV/E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=ImygTOW8qwbaG12y/EcnTNypB8d3N3B1sxKpZM4UOgZFEONpbUWZZmvBKmpa/bjGDb S8sIpJF1Mft5HlfZThKmVSjsZddwFrbOGdBmf/aP0lPQCelo16JM78YXB+ukbrZa/4F8 FodEPTC/VRV0LTO1/WTKA542M9CzpHuPRHDzg= Received: by 10.216.90.131 with SMTP id e3mr1551808wef.69.1256983738114; Sat, 31 Oct 2009 03:08:58 -0700 (PDT) Received: from nirvana.lan ([93.185.190.227]) by mx.google.com with ESMTPS id 24sm3100188eyx.45.2009.10.31.03.08.56 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 31 Oct 2009 03:08:57 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes In-Reply-To: Date: Sat, 31 Oct 2009 13:08:48 +0300 Cc: internals@lists.php.net Content-Transfer-Encoding: 7bit Message-ID: <9A208B9B-1FA6-47F6-8FB2-82012232463F@gmail.com> References: To: Arvind Srinivasan X-Mailer: Apple Mail (2.1076) Subject: Re: [PHP-DEV] [PATCH] - Check configured error level before reporting E_NOTICE messages From: indeyets@gmail.com (Alexey Zakhlestin) On 31.10.2009, at 12:48, Arvind Srinivasan wrote: >> This is a bad idea, because the error handler does other things as >> well. > > If the error reporting level indicates that the user is not interested > in E_FOO, why would there be an expectation that zend_error be invoked > for E_FOO messages? error_reporting setting is related to automatic reactions on errors only. but php provides additional means to get last-error manually which should work without relation to this setting