Differentiate between PHP4 and PHP5  given below

S.No.PHP4PHP5
1Not support Static methodsIt support static method
2constructor can have same class nameconstructor have different class name
3limited OPS support, not support visibility keywords (public, protected, private), not support interfaces or abstract classes.Improved OOP support, support visibility keywords (public, protected, private), support for interfaces, abstract classes 
 
4slower performanceImproved performance with various optimizations and enhancements.
5Use MysqlUse Mysqli & PDO
6Weaker security features Enhanced security features
7namespace not supportnamespace support