Explain the difference between php4 and php5.



Explain the difference between php4 and php5...

Answer / Digvijay Singh Rawat

PHP4 is an older version of PHP that is no longer supported. PHP5 introduced many new features, such as Object-Oriented Programming (OOP) support, MySQLi extension for database access, improved performance, and more secure functions. Major differences also include the use of `$this` instead of `$_object`, and the deprecation of functions like `register_globals`.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

How does php strcmp work?

1 Answers  


Explain how to run the interactive php shell from the command line interface?

1 Answers  


What is slim framework?

1 Answers  


Write a program to get lcm of two numbers using php?

1 Answers  


How to write comment in php?

1 Answers  


What is default session time and path in php?

1 Answers  


What does the unlink() function means?

1 Answers  


Can php run on windows server?

1 Answers  


i have saved the password in encrypted format in database. now i want how to retrive the password in decrypted format.

6 Answers  


What is split function in php?

1 Answers  


what is PHP accelerator ?

2 Answers  


What type of inheritance that PHP supports?

15 Answers   Webwing Technologies,


Categories