wikipedia is in php
facebook is in php
flickr is in php
photobucket is in php
need i say more?
wikipedia is in php
facebook is in php
flickr is in php
photobucket is in php
need i say more?
That pretty much makes the point. 194 vulnerabilities in Wordpress with CVEs in 2014.
http://www.cvedetails.com/vulnerability-list/vendor_id-2337/...
Yes, a good developer can write safe code in bad environment. But an average developer writes safer code in a good environment.
Not sure number of disclosed flaws is a good metric to look at, whether it's high or low.
TL;DR simple statistics don't really seem to work well in providing a proper view of comparative levels of security of web apps.
[0] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-5203
Facebook is written in PHP, but they have invested a lot into making their PHP not be PHP.