3 ms·
> PHP's refusal to break BC in the stdlib, among other things is probably the biggest impediment to the language being more widely accepted. PHP is one of the
by burnte 8y ago
> PHP's refusal to break BC in the stdlib, among other things is probably the biggest impediment to the language being more widely accepted.
PHP is one of the most widely used languages on the web. Their backward compatibility is absolutely part of that reason, too. Refusal to break compatibility may be holding it back in some technical areas, but it's certainly not hurting the language in popularity and use.
- debacle 8y agoThere's no reason not to break BC in 7.4. The people still running 5.3 aren't going to not upgrade to 7.4 because you fixed the array functions.
- ars 8y agoThat is a completely false sentence. People develop PHP sites, launch them and expect them to work, even if the server is upgraded to the latest PHP. Breaking their code on a PHP upgrade is a great way to strand them on old unsupported versions of PHP. Not everyone has resources to change things that used to work because of some "array function" change that doesn't really make any difference.