Better HN
topnewbestaskshowjobs
Log inSign up

draginator

7 karma · joined Jan 3, 2014 (12y ago) · 3 submissions

Submissions

comment 12y ago · link · parent

No. There are plenty of people that say PHP itself is insecure.

They are right.

Sure anybody can write insecure code in any language, but PHP makes writing secure code much more difficult then other languages and even if you do write secure code the interpreter itself has a pretty terrible track record.

comment 12y ago · link · parent

PHP makes it easy to do easy things terribly, but makes it extremely difficult to do normal things well.

comment 12y ago · link · parent

> PHP is as secure as any other major language

Well this is patently false. You can find a significant difference in the vulnerabilities found with PHP interpreter and core libraries then you find with other languages.

It's not just that people program badly with it, it's a badly programmed language that sets users up to fail and even when they do program securely PHP itself is insecure.

Lets see how PHP compares....

PHP (348): http://www.cvedetails.com/product/128/PHP-PHP.html?vendor_id...

Python (17): http://www.cvedetails.com/product/18230/Python-Python.html?v... and also (20): http://www.cvedetails.com/product/2147/Python-Software-Found...

Perl (20): http://www.cvedetails.com/vendor/1885/Perl.html

Ruby (42): http://www.cvedetails.com/product/12215/Ruby-lang-Ruby.html?...

And so on and so forth. The only thing that rivals it is Java.