I think people tend to have some prejudices when they don’t know much about something. The deeper you understand something, the less bias you will have and you will have your own unique ideas and perceptions. Rather than blindly despise and hate.
#Every language has its own characteristics and advantages. The same goes for php. Friends who have read the PHP source code will be impressed by its clever concept. At the same time, php is not omnipotent. Each language only works best in its specific context.
Advantages (Recommended learning: PHP programming from entry to proficiency)
1. It is easy to get started, the amount of code is small, and it represents a small effort You can get the results your boss wants at the right price. How many jobs in other languages will this take away?
2. Coding is an art, but many people don’t know what real art is when they first get started. So everyone either likes to learn the lowest level or the most superficial level. At the middle level, everyone either thinks it is superficial or a bit difficult. If you can't achieve high, you can't do low.
3. PHP Siege Lion’s treatment is low, and many people switch after learning a little.
4. After being robbed of your job, you have to find a reason to criticize PHP. For example, it is difficult to become a master of PHP, most PHP programmers are terrible, etc. . . . . As for the technical advantages and disadvantages, which language does not have advantages and disadvantages?
5. Moreover, the PHP MySQL combination is open source and free, and is used by most companies.
6. There are other developers, such as JAVA, C, Python and other languages. The learning costs of these programming languages are greater than PHP, and in terms of use, PHP has a huge advantage.
PHP language, as a scripting language for server-side development, is very famous in website development. Since its creation by Rasmus Lerdorf in 1995, according to a W3Techs survey, PHP accounts for 82% of known server-side programming languages. There are many companies like WordPress and Facebook among them. It is second only to Java in PyPL (Programming Language Popularity Ranking) and ranks sixth in Toibe ranking. High-performance PHP 7 will be released in 2015.
Like all technologies, reviews are mixed. Let’s take a look at why some people love it and others despise it.
Disadvantages: Design flaws, lack of attention
Blogger Eevee said that every functional design of PHP is problematic.
His view of PHP is extremely poor design. Eevee not only dislikes the language, but also disagrees with its framework. He believes that the PHP language is unstable and accidents always occur. PHP is called an opaque language because there are no stack traces and brittle input. There is no clear design philosophy.
Early PHP was influenced by Perl. The standard library with out parameters was introduced by the C language, and the object-oriented part was learned from C and Java.
When Lockhart learned about Eeveef's remarks against PHP, he felt that they were exaggerated. Despite being a supporter of PHP, Lockhart is very patient with criticism of PHP.
The language is not persistent, especially in namespaces and parameter order. Lockhart: These are easy to adapt to and not a big deal.
PHP still has many legacy things, including global variables, magic references, etc. Lockhart: These bad implementations will continue to be eliminated. But before being eliminated, it gives programmers who have bad habits something to do.
PHP doesn’t get enough attention. Lockhart is also constantly working to increase the attention of PHP. Lockhart: People in the community are still paying attention to PHP, albeit intermittently.
Likes and dislikes of a technology come from many aspects, from personal habits to project needs. PHP cannot be loved by everyone.
The above is the detailed content of Why do so many people say php is bad?. For more information, please follow other related articles on the PHP Chinese website!

The article compares ACID and BASE database models, detailing their characteristics and appropriate use cases. ACID prioritizes data integrity and consistency, suitable for financial and e-commerce applications, while BASE focuses on availability and

The article discusses securing PHP file uploads to prevent vulnerabilities like code injection. It focuses on file type validation, secure storage, and error handling to enhance application security.

Article discusses best practices for PHP input validation to enhance security, focusing on techniques like using built-in functions, whitelist approach, and server-side validation.

The article discusses strategies for implementing API rate limiting in PHP, including algorithms like Token Bucket and Leaky Bucket, and using libraries like symfony/rate-limiter. It also covers monitoring, dynamically adjusting rate limits, and hand

The article discusses the benefits of using password_hash and password_verify in PHP for securing passwords. The main argument is that these functions enhance password protection through automatic salt generation, strong hashing algorithms, and secur

The article discusses OWASP Top 10 vulnerabilities in PHP and mitigation strategies. Key issues include injection, broken authentication, and XSS, with recommended tools for monitoring and securing PHP applications.

The article discusses strategies to prevent XSS attacks in PHP, focusing on input sanitization, output encoding, and using security-enhancing libraries and frameworks.

The article discusses the use of interfaces and abstract classes in PHP, focusing on when to use each. Interfaces define a contract without implementation, suitable for unrelated classes and multiple inheritance. Abstract classes provide common funct


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Dreamweaver Mac version
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

WebStorm Mac version
Useful JavaScript development tools