On 10/10/2019 18:30, Walter Parker wrote:
"Ferry" projects might be: more/better training on PHP, better
documentation so that the backtick is no longer an "obscure" feature to
those that don't have a shell/Unix/Perl background, tooling to warn people
when they misuse this feature.

Unfortunately most of those are out of our hands.

While it would certainly be great if we could better educate everyone, such things are beyond the power of internals to do, and while we could improve the documentation, we're not in a position to tell everyone that new information is there, and even still, that wouldn't change that it's too easy to miss for the power it possesses.

While a warning would be something, PHP's warnings don't actually prevent anything. By the time you see them, the problem has usually already occurred.

That leaves us with the choice that's within our power, deprecation and eventual removal of backticks in favour of something that's much more obvious in its intent and much less easy to miss.

Mark Randall

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to