1. Advantages: Open Source Free quick performance [program development fast, running fast, technology itself learning fast]
Plug-ins are rich, online solutions are plentiful, and there is a huge open source community available to help.
High-efficiency and cross-platform image processing object-oriented
[In Php4,php5, the object-oriented aspect has been greatly improved, and PHP can be used to develop large commercial programs. ]
PHP performance is strong. Simple, stable, easy to deploy, in general, PHP can help you do things at a low cost
2. Disadvantages,
1) function naming not standard hump method and glide line, the parameter location is different you know.
2) Single thread; PHP itself has always been a single-process program, although PHP's pthreads extension has already. But it is not stable enough to run, it will be inexplicably to hang up; PHP extensions are written in C, which means that any extension of the thread competition resource control problem can let the whole hang out
3) The core asynchronous network is not supported (of course, only the synchronous nonblocking network model in Linux). But the lack of this makes it difficult to develop a network application that can withstand large concurrency. Traditional network models and Io are blocked. The basic programming approach is that a process (or thread) responds to a user link request. Therefore, it is impossible to accomplish tasks like live online games that require thousands of network connections. Although PHP also has libevent, Eio extension to this is to some extent, but the feeling is not so perfect
4) Only support web development, not easy to do. exe files, inconvenient to do desktop applications. Inconvenient to do mobile phone program.
5) Not suitable for crawling, autorun scripts. The basic architecture of this language is not suitable for scientific computing projects, although there are many ways to achieve it.
6) Late maintenance difficulties. The late speed-up space is more limited.
Quote Bird [laruence] words: said PHP does not support multithreading (90% of these people do not know the multithreading model and IO multiplexing model is not the same), rotten. Say PHP does not support async (90% of these people, simply do not know what Async stands for), rotten. PHP is a dick-Silk language (99% Of these people are looking for IQ superiority), rotten. Often I see this kind of argument, I really helpless, because you have no way to make a fool of people become clever.
Advantages and disadvantages of PHP