Re: Deprecation of the Error Control Operator (@ symbol)
| From: | Rasmus Lerdorf | Date: | Tue, 05 Jan 2016 05:28:16 +0000 |
| Subject: | Re: Deprecation of the Error Control Operator (@ symbol) | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-90068@lists.php.net to get a copy of this message | ||
On 01/04/2016 07:22 PM, Sara Golemon wrote:
> On Thu, Dec 31, 2015 at 1:10 PM, Stanislav Malyshev <smalyshev@gmail.com> wrote:
>> I don't think it is a good idea, currently, for the following reasons:
>>
> [::snip::]
>
> It terrifies me to say this, but I completely agree with Stas. ;)
>
> I can't personally remember the last time I used @ in any production
> code, but my one-offs are replete with them. It's a quintessentially
> PHP feature in its pragmatism.
>
> Okay, I'll put the thesaurus down.
I'd be quite sad to see @ disappear as well. It was one of PHP's
earliest features and its roots date back to mid-80's DOS batch files
(before 1/3 of this list were born I would guess)
-Rasmus