adspace


Differentiate between php5 and php7?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Which variable declarations within a class is invalid in php?

1048


Write a program using while loop?

1118


What is trait in php?

1065


What is difference between static and final in php?

1109


What is the current stable version of php? What advance thing in php7?

1095


Name and explain five of the PHP error constants?

1035


hello all, I need some sample placement papers in lion bridge.. can anyone help me?

2177


What is the difference between htmlentities() and htmlspecialchars()?

1091


How can we extract string "pcds.co.in" from a string "https://info@pcds.co.in" using regular expression of php? More on reg can you explain

1078


how to detect a mobile device using php

1174


How to calculate the difference between two dates using php?

1144


What sized websites have you worked on in the past?

1086


sort term descripttion form, report and uery

2254


List some features of php that are deprecated in php7?

1024


How to create a web form?

1111