Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:73989 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83187 invoked from network); 7 May 2014 00:51:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 May 2014 00:51:52 -0000 Authentication-Results: pb1.pair.com header.from=dmitry.koterov@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=dmitry.koterov@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.169 as permitted sender) X-PHP-List-Original-Sender: dmitry.koterov@gmail.com X-Host-Fingerprint: 209.85.213.169 mail-ig0-f169.google.com Received: from [209.85.213.169] ([209.85.213.169:39568] helo=mail-ig0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 07/A1-07044-7A389635 for ; Tue, 06 May 2014 20:51:52 -0400 Received: by mail-ig0-f169.google.com with SMTP id hl10so3497001igb.4 for ; Tue, 06 May 2014 17:51:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=+bIVBhjMeIy1r1Af2oFQI4jKyGhd7ku99oH+f+FTndQ=; b=OhOwOUGyNMHu+qrYp68mNT8IedkR6JHaADv/0X86H/+DM1x4AFb9YXofQ2DX6W5i9r yM/byvSdPu0HbvZAad5aXK2oDGKDQKpi1re4GLmdwHf0VzfwHEXnkBE4afunI47qcBI4 Az1/4UuQ9iIP1c7FNjFUZlFHCd8wLJFG7E0TPgzU9btMxafGERkdBnsXfC/9EQF/JNGO 6pxO4zewYALEzZyPEteEVDhjY76NQbKmM4bvgsRv5C7Rpgs3XlwrJ3gBfYvCTDPhlCTo +Poo6tnGUU5Hj+9I4RDZO5mhwksb2K+XHGKNYx5hJDJX6MI5fsiwfvYjonsOe7aiTGHt QW7g== MIME-Version: 1.0 X-Received: by 10.50.40.103 with SMTP id w7mr36859436igk.33.1399423908399; Tue, 06 May 2014 17:51:48 -0700 (PDT) Received: by 10.64.13.195 with HTTP; Tue, 6 May 2014 17:51:48 -0700 (PDT) In-Reply-To: References: Date: Wed, 7 May 2014 04:51:48 +0400 Message-ID: To: Aaron Lewis Cc: Ferenc Kovacs , PHP Internals Content-Type: multipart/alternative; boundary=089e0122ebb0f3501604f8c4c4c9 Subject: Re: [PHP-DEV] Where is the '@' part handled in PHP? From: dmitry.koterov@gmail.com (Dmitry Koterov) --089e0122ebb0f3501604f8c4c4c9 Content-Type: text/plain; charset=UTF-8 No-no, my question was addressed to the community. Why @ silences E_ERROR+, not E_WARNING+, what was the holy reason for that (historically). On Wednesday, May 7, 2014, Aaron Lewis wrote: > Hi Dmitry, > > No, I'm not changing anything, just trying to understand the code > > Don't worry about that ;-) > > > On Wed, May 7, 2014 at 5:11 AM, Dmitry Koterov > > wrote: > > > >> > I'm trying to find out how the '@func' part overrides the > >> > 'EG(error_reporting)' settings > >> > > >> > Anyone know where I should be looking at? > >> > > >> I think you should check out ZEND_BEGIN_SILENCE and ZEND_END_SILENCE > > > > > > BTW what was an initial reason for @ operator to silence non-recoverable > > errors as well? Why not silence only E_WARNING+ ? I don't propose to > change > > this, just wondering. > > > > -- > Best Regards, > Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/ > Finger Print: 9F67 391B B770 8FF6 99DC D92D 87F6 2602 1371 4D33 > --089e0122ebb0f3501604f8c4c4c9--