The analogy is a false one. PHP was never re-written from scratch in a way that Windows was (with NT). Most of PHP’s pitfalls are still there, and only now are they being slowly removed one by one.
If bashing others' work make you feel cool, then you need to start checking the facts.
My complaint is the inconsistency in the function parameter orders of same categories and the fact it's one of the few languages that still require semi colons at end of lines. Former is pretty much unfixable though unless they introduce same features through new objects.
And the newly introduced typing is just too basic after you've gone through TypeScript but this can be improved.