Just looking for a simple MVC app? Silex (http://silex.sensiolabs.org/)
Want something that's beefier and more rails-inspired? Laravel (http://laravel.com/)
Want MVC but near native PHP performance? PhalconPHP (http://phalconphp.com/en/)
Building an enterprise application with a team of developers? Symfony (http://symfony.com/), Zend Framework 2 (http://framework.zend.com/)
..and I'm only listing the more popular frameworks that I know of that are mature. Every single one of these has full unit test coverage, and most have very clear examples of how to unit test your code.
I like that I can pick from so many frameworks instead. This allows me to choose a framework that fits my problem, instead of fitting a framework around my problem. I find this to be one of the highlights of the PHP community, not one of the downfalls.
If you're operating on a massive enterprise scale, it's probably not going to be good enough for your hardware. The HipHop VM might be a saving grace if you're already built on PHP, but pragmatically it's probably a better idea to choose a more matured solution (probably something on the JVM).
If you're doing something that is algorithmically intensive (video encoding as an arbitrary example) PHP is going to be a bad fit.
However, if you, like the vast majority of developers, are working on a website that's main technical purpose is to store data of some sort to a back end and retrieve it later for display and you're not yet operating on a large scale (1M+ users) then PHP itself is probably not going to be your bottleneck for a long time.
If you're a fan of benchmarking, techempower does a good job of unbiased comparisons (although keep in mind these are just benchmarks. It doesn't account for how a particular language or framework is optimized for): http://www.techempower.com/benchmarks/
If you haven't been following Laravel 4 development, you're entirely missing out on a community that's bringing the love back to PHP.
The core PHP community is extremely knowledgable; you're just not interacting with the proper subset. If you take a look at the conference circuit, you'll see a group of passionate and experienced developers willing to share their knowledge.
Check out some of the works pointing the general populous in the right direction:
http://www.phptherightway.com/ https://phpbestpractices.org/ http://phpsecurity.org/
http://www.google.co.uk/trends/explore?hl=en-US&q=laravel,+s...
CodeIgniter does not have the largest community by any stretch, and its falling fast. If it hasn't already died, then it will in the near future.
Sorry, but based on your comment I don't think that you really know much about the PHP framework landscape.
The key flaw in the PHP community are people like you. People who still think that Codeigniter is THE PHP framework (it hasn't been for at least 3 years) yet still have the nerve to look down on newbie programmers.
The ignorance in your post is embarrassing.
An year or two before the trend was all 'yii' which I though could be 'one framework to rule them all' but after that comes laravel and yet more fragmentation. Yes, I shouldn't ignore that how nice they are but the problem which I see is always the community and with a new one every year, it ain't helping.
The cases where PHP is not appropriate seems to often be known before going into it (with notable exceptions like Facebook of course) but thats a success problem not a fundamental problem with PHP.
In 95% of the cases PHP seems to be exactly the best possible, easiest to get up and running, versatile for web based programming.
(Mine has dynamic ORM (reads db schema), a console (REPL that loads project config and autoloader file), and similar project layout. Recently added REST API system that generates MD and HTML documentation at /path/to/project/help/.)
Anyway, I would say the main selling point is ubiquity. Every cheap host I've seen people (clients and semi-technical friends) use supports PHP. It often takes more work to get a Ruby project running on those hosts. Or worse for a Node project.
Thats a joke right ? RIGHT ? PHP probably has one of the best, most mature and versatile selection of frameworks there is.
With blackjack and hookers? Please say with blackjack and hookers.
Being a PHP developer myself, I can't refute that only selling point of PHP, albeit, a major one, is its so "easy" to get things done. I feel in the near future, with advent of tools to make mature frameworks more accessible, PHP would cease to be a tool for any serious web development.