Differentiate between php5 and php7?



Differentiate between php5 and php7?..

Answer / Raj Kapoor Agrahari

PHP 5 is an older version that was released in July 2004, while PHP 7 is a more modern version released in December 2015. Some key differences include: PHP 7 has better performance due to the introduction of Zend Engine 3; PHP 7 dropped support for deprecated features like short_open_tag, register_globals, and magic quotes; PHP 7 introduced return types in functions, scalar type declarations, and anonymous classes.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

Tell me how to create a text file in php?

1 Answers  


What does == mean in php?

1 Answers  


What is substr() in php? And how it is used?

1 Answers  


what is Abbreviavion of PHP?

6 Answers  


What is the use of is_array() and in_array()?

1 Answers  


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

1 Answers  


I finished my degree 4 years back. I didnt get job in software. In the time(for 4 years) i worked one kpo industries. but now i got job in php(40 employes working there) as fresher(Salary 8000). Shall i join in php. I have no knowledge about php. Can i do well in php. How will my carrier if i join in php? Please can you give your idea.? It will be more usefull to me.

2 Answers  


Is php a float?

1 Answers  


Difference between $message vs. $$Message in php.

1 Answers  


What is the difference between substr() and strstr()?

1 Answers  


Explain type casting and type juggling.

1 Answers  


Do you know what is the use of rand() in php?

1 Answers  


Categories