Programming languages are different. They usually can't be "repaired" once broken, because they need to maintain backwards compatibility.
If you upgrade then, for example, you can't run all of your PHP 5 code in PHP 8, most of it you can but you will have to change the parts that are broken, which are the areas that are repaired in PHP 8.
Same goes for other languages like C# or Python
The standard libraries were the lacking part in PHP. The language itself was never a serious problem.