I presume there's a lot of legacy code there.
For anyone with a handful of servers PHP is acceptable as the additional cost of 2-3 servers is not really that high.