Re: [RFC][DISCUSSION] Deprecate the backtick operator

From: Date: Tue, 13 Feb 2018 23:14:51 +0000
Subject: Re: [RFC][DISCUSSION] Deprecate the backtick operator
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-101864@lists.php.net to get a copy of this message
On 13.02.2018 at 23:41, Wes wrote: > Consider that people dislike writing \strlen(), they will for sure dislike > writing u"string". Hence reassigning backticks to unicode strings seemed to > me like a possibility. Okay. However, in my opinion, it is a bad idea to suggest a deprecation of a feature that *might* be used differently sometime in the future, because if it will not, the deprecation doesn't make any sense. So, YAGNI applies somehow. Actually, for me the only valid argument to deprecate the backtick operator is "because it is a shady way to execute a rare and dangerous operation". I, personally, would make that the main reason for the deprecation proposal, and would move the other arguments to the "future scope" section. -- Christoph M. Becker

« previous php.internals (#101864) next »