Why developers have mixed opinions about PHP language

Source: Internet
Author: User
Tags php language stack trace what php

The PHP language, as a scripting language for server-side development, is well known for web development. After Rasmus Lerdorf was created in 1995, W3techs's survey showed that PHP accounted for 82% of known service-side programming languages. There are many wordpress,facebook such companies.

The PHP language, as a scripting language for server-side development, is well known for web development. Since the creation of Rasmus Lerdorf in 1995, PHP has accounted for 82% of the known service-side programming languages, according to a survey by W3techs. There are many wordpress,facebook such companies. Second only to Java in the PYPL (programming language popularity leaderboard), ranked sixth in the Toibe rankings. 2015 will have a high-performance PHP 7 release.

Like all technology, people have a mixed assessment of it. Let's see why some people like it and some people curse it.

Advantage One: Popular, easy to get started

PHP is currently the most popular programming language. PHP tool maker Zend Technology CEO Andi Gutmans said. "PHP is the easiest language to learn web development," says Josh Lockhart, a development engineer at New Media campaigns. It is installed on the vast majority of servers. The PHP language is easy to learn in comparison to other languages due to real-time updated documentation and questions and answers.

Advantage Two: A lot of site development positions

Gutmans also said that PHP will help you find work on the server-side of website programming. Dice.com A short survey shows that there are 3,366 jobs related to PHP, compared to Java 17,418 and Perl 4,300, Python 5,429 is less, but more than Ruby's 2973 and 985 objective-c positions. Although it's a little bit worse than the Ruby,python,go,rust language, Lockhart thinks PHP is still one of the most used languages.

Advantage Three: still in continuous development

PHP is constantly compatible with technologies like closures and namespaces, while taking into account performance and the current popular framework. Gutmans says that it doesn't need to know exactly what PHP is offering, Lockhart as a developer: everyone speaks of PHP as an object-oriented development model. The next version is 7, which will provide more high-performance applications. Lockhart points out that Facebook is also stepping up PHP, such as their HHVM virtual machines, and Hack programming languages.

Cons: Design flaws, lack of attention

Blogger Eevee says that every feature design in PHP is problematic. His view of PHP was a very bad design. Eevee not only dislike the language, but also cannot agree with its framework. He thinks the PHP language is unstable, and there are always various surprises. PHP is known as an opaque language because there is no stack trace, and a variety of vulnerable inputs. Without a clear philosophy of design. Early PHP was influenced by Perl, the standard library with out parameters was introduced in C, and the object-oriented part was learned from C + + and Java.

When Lockhart learned that eeveef against PHP, he felt a bit exaggerated. Despite being a supporter of PHP, Lockhart is very patient about the criticism of PHP.

    • Language is not persisted, especially in namespaces and parameter sequences. Lockhart: These are easy to adapt, not a big problem.
    • There are a lot of things left over from PHP, including global variables, magical references, and so on. Lockhart: These bad implementations are going to be eliminated constantly. But before it is eliminated, it makes the process of becoming a bad habit an ape has the law to do.
    • PHP is not paying enough attention. Lockhart is also constantly working to improve the focus of PHP. Lockhart: Despite the intermittent, people in the community are still concerned about PHP.

The degree of aversion to a technology comes from many aspects, from personal habits to project needs, PHP has no way to achieve human love, but, you must have a lot to say to PHP, that in the following comments to say

Why developers have mixed opinions about PHP language

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.