Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:90189 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5553 invoked from network); 6 Jan 2016 09:25:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Jan 2016 09:25:16 -0000 Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.113.146.227 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.113.146.227 xdebug.org Linux 2.6 Received: from [82.113.146.227] ([82.113.146.227:49795] helo=xdebug.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D7/7D-21755-B7DDC865 for ; Wed, 06 Jan 2016 04:25:15 -0500 Received: from localhost (localhost [IPv6:::1]) by xdebug.org (Postfix) with ESMTPS id 4332210C057; Wed, 6 Jan 2016 09:25:11 +0000 (GMT) Date: Wed, 6 Jan 2016 09:25:11 +0000 (GMT) X-X-Sender: derick@whisky.home.derickrethans.nl To: Sara Golemon cc: Aaron Piotrowski , Ferenc Kovacs , Andrea Faulds , Junade Ali , grzegorz129@gmail.com, PHP internals In-Reply-To: Message-ID: References: <4F.0A.12097.24FFB865@pb1.pair.com> <68A8B669-7A42-41B1-9E1E-9D3441C2AD70@icicle.io> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Subject: Re: [PHP-DEV] Deprecation of the Error Control Operator (@ symbol) From: derick@php.net (Derick Rethans) On Tue, 5 Jan 2016, Sara Golemon wrote: > On Tue, Jan 5, 2016 at 12:24 PM, Aaron Piotrowski wrote: > > > Before anything can be done with the @ operator, changes will need > > to be made to remove warnings for conditions that the code has no > > way of checking prior to calling these functions. > > > I'd include pragmatism in that calculus. fopen() can technically be > safely called, but only by adding a lot of boilerplate that makes code > ugly. And susceptible to race conditions. cheers, Derick