Re: Deprecation of the Error Control Operator (@ symbol)

From: Date: Tue, 05 Jan 2016 20:58:16 +0000
Subject: Re: Deprecation of the Error Control Operator (@ symbol)
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-90150@lists.php.net to get a copy of this message
On Tue, Jan 5, 2016 at 12:24 PM, Aaron Piotrowski <aaron@icicle.io> 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. An @ suppression is perfectly reasonable provided the return value is sanity checked. -Sara

« previous php.internals (#90150) next »