RE: [PHP-DEV] [RFC] Deprecate Backtick Operator (V2)

From: Date: Sun, 06 Oct 2019 13:18:50 +0000
Subject: RE: [PHP-DEV] [RFC] Deprecate Backtick Operator (V2)
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-107385@lists.php.net to get a copy of this message
> -----Original Message----- > From: Olumide Samson [mailto:oludonsexy@gmail.com] > > it should be deprecated for exec usage since they both do same thing With that logic <?= should also be deprecated in favor of echo because it does the same thing and is hard to find in internet search engines (was in some other argument). > This isn't high cost breaking changes coz it has a verifiable, ready alternative to > upgrade to without huge Regex searches. Since `` are used for literal strings (for poorly chosen reserved words as field, table names (which happens from time to time)) in MySQL (multiline) queries I doubt there is a simple way to distinguish and replace everything to exec(). rr

« previous php.internals (#107385) next »