DisAdvantages of php

Hi, I have experience in PHP for 3 years, and I think these are advantages pf PHP:
Open source: It is developed and maintained by a large group of PHP developers, this will helps in creating a support community, abundant extension library.
Speed: It is relative fast since it uses much system resource.
Easy to use: It uses C like syntax, so for those who are familiar with C, it’s very easy for them to pick up and it is very easy to create website scripts.
Stable: Since it is maintained by many developers, so when bugs are found, it can be quickly fixed.
Powerful library support: You can easily find functional modules you need such as PDF, Graph etc.
Built-in database connection modules: You can connect to database easily using PHP, since many websites are data/content driven, so we will use database frequently, this will largely reduce the development time of web apps.
Can be run on many platforms, including Windows, Linux and Mac, it’s easy for users to find hosting service providers.
 
Disadvantages of PHP:

1. Security: Since it is open sourced, so all people can see the source code, if there are bugs in the source code of Website Development, it can be used by people to explore the weakness of PHP.
2. Large Applications Compatibility: It is not suitable for large Web Applications, hard to maintain since it is not very modular.
3. Weak type: Implicit conversion may surprise unwary programmers and lead to unexpected bugs.
 
Disadvantages of PHP -

Security : Since it is open sourced, so all people can see the source code, if there are bugs in the source code, it can be used by people to explore the weakness of PHP.

Not suitable for large applications: Hard to maintain since it is not very modular.

Weak type: Implicit conversion may surprise unwary programmers and lead to unexpected bugs. For example, the strings “1000” and “1e3” compare equal because they are implicitly cast to floating point numbers.
 
People will disagree with me, but there are no inherent disadvantages to PHP. There may be trade-offs vs other languages though. Some of the biggest, that you can't change:

PHP is not heavily opinionated. There are often a few ways to accomplish a task. Any reasonably old language has some of this, PHP has lots of this.

PHP is not strongly typed
PHP is interpreted
PHP uses curly braces
PHP is not particularly sexy
 
- slow, could be faster
- confusion between arrays and hash tables
- database access should be in the language just like dbase4
 
Re: DisAdvantages of php
Disadvantage of Php are:
1. Security : Since it is open sourced, so all people can see the source code.
2. Not suitable for large applications: Hard to maintain since it is not very modular.
3. Weak type: Implicit conversion may surprise programmers and lead to unexpected bugs.
 
PHP is not heavily opinionated. There are often a few ways to accomplish a task. Any reasonably old language has some of this, PHP has lots of this.
PHP is not strongly typed
PHP is interpreted
PHP uses curly braces
PHP is not particularly sexy
 
Back
Top