Does PHP Sucks?

It is very common to see developers of other languages ​​speak evil about PHP, citing that it is unsafe and is not object oriented. But it is up to date and the user base is consistently growing. The language user in 2010 was 71% of everything that existed on the web and is now at almost 82% of all.

Many uninformed developers still use the 2004 PHP as reference, when the language had little support and guidance, had more oriented sites. Few know that it has evolved:

v5.1 in 2005: Better support for OOP and PDO (PHP Data Objects) that provides a standardized interface for working with databases, whose purpose is to abstract the connection and independent BD interactions;

v5.2 in 2006: Improved the filter for data entry, increasing security and resolving points “made PHP safe” and year of origin of the main frameworks of language: Zend Framework 1, Symfony and CodeIgniter 1, when the ZF1 was adopted by the vast majority of much of corporate projects globally;

v5.3 in 2009: Improvements in OOP again with support for Namespaces, Late Static Binding and Closures. PHP-FIG (Framework Interop Group) was created, which resulted in the creation of the PSR (PHP Standard Recommendations) and later in an excellent dependency manager (Packagist + Composer), bringing a new wave of frameworks versions in 2010: Zend Framework 2, Symfony2 and Laravel. On top of that, we had a performance gain by 30%to 40%;

v5.4 in 2010: New features like Traits, shortened array syntax and a built-in webserver to facilitate local tests. Gained performance by 20% to 25%;

v5.5 in 2013: New features such as generators and coroutines, finally in try..Catch, simplified Hash API, support for constant array / string dereferencing, name resolution for scalar Classes iteration non-scalar keys. Gained performance by 15% to 20%;

v5.6 in 2014: New features like Constant Scalar Expressions, functions, and variadic arguments were added. Gained performance by 10% to 15%;

v7.0 in 2015: Option to work in strict mode forcing typing variables, statement of scalar types and methods of returns. All core language has been revised and updated, giving a performance gain of up to 200%. Yes, that’s right: 200%!

When we speak of large projects, we quote: SISU, SISUTEC, ProUni, FIES, ESMS and local examples not to stay in the cliché Facebook and Wikipedia. Today, PHP is supported by various companies like Microsoft, who has worked with Zend to improve PHP support; Oracle with effective support, IBM OCI; Google now offer PHP support in Google App Engine; Red Hat with OpenShift, among others.

Finally it is good to remember that PHP is used by 81.7% of all that exists on the web. And let two questions for reflection:

As a language, it would increase its market share by 10% in 6 years, evolving and adapting to new technologies and virtually every 12 months.

Is it not really good? Would you still say PHP Sucks?