What are the differences between PHP3 and PHP4 and PHP5? what is the current stable version of PHP?



What are the differences between PHP3 and PHP4 and PHP5? what is the current stable version of PHP?..

Answer / Vipra Choudhary

Differences between PHP versions:n- PHP3 (1997): Deprecated in 2004, it introduced support for regular expressions, the session extension, and a more object-oriented style. However, it had several security issues.n- PHP4 (2000): Improved on PHP3 by addressing some security concerns, added support for Zend Engine, and introduced the concept of classes and objects. It's still partially supported but not recommended for new projects.n- PHP5 (2004): A major improvement, it introduced Object-Oriented Programming features, support for user-defined classes, and MySQLi extension. The current stable version is PHP 8.1 as of now.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

Is it more secure to use cookies to trfer session ids?

1 Answers  


Is php still relevant 2019?

1 Answers  


What is the purpose of constant() function?

1 Answers  


How to send email using php script?

1 Answers  


What is csrf validation?

1 Answers  


Is empty array php?

1 Answers  


What is the purpose of basename() function in PHP?

1 Answers  


What type of inheritance that PHP supports?

15 Answers   Webwing Technologies,


What is difference between static and final in php?

0 Answers  


If anybody integrate "First Data Global Payment Gateway" in your site?

2 Answers  


Why laravel is the best php framework in 2019?

1 Answers  


What is the substitution of submit in PHP?

6 Answers   RedAlkemi,


Categories