answersLogoWhite

0

What is the difference between PHP4 and PHP5?

Updated: 8/16/2019
User Avatar

Wiki User

16y ago

Best Answer

they are the same, but php 5 has improvements in design, security, and stablity. it is basically a new version. if you want more details just go to http://www.php.net and find the recent changes in php.

User Avatar

Wiki User

16y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between PHP4 and PHP5?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is php extension?

We can write php extension is many way... .php , .php5, .php4


Describe the differences between the object models in PHP 4 and PHP 5?

Classes written in PHP4 will work in PHP5. Some of the additions in PHP5 are:several magic functions such as __construct, __destruct, __call, __get, and moreinterfacesabstract and final classesvisibilitytype hintingcloningbetter performance


Does you need any software to execute php files?

To execute PHP files, you will need a webserver (Apache) and a compiler (PHP4 or PHP5) . You may refer to Apache official website on how to install Apache on a Windows-based machine


What is the recent PHP version?

PHP5


What do you have to do to convert PHP3 pages to PHP4 pages?

Usually you don't have to change anything to allow PHP3 code to be used on a PHP4 server. if you think there is a problem with the code running under PHP4, check the code against the PHP 4 Changelog (http://www.php.net/ChangeLog-4.php)


Where can you download LAMP package for Debian Linux?

LAMP is not a package , it is : Linux Apache Mysql PHPyou can intall them with :sudo apt-get install mysql-server mysql-client apache2 apache2-doc php5 php5-mysql libapache2-mod-php5


What are the advantages of PHP5 web hosting?

PHP5 web hosting is the latest version. It uses less system resources than previous versions. It also has enhanced security and it has easier programming.


How do you list all files from directory in PHP4?

Here is a small script that will get the files from the $folder variable using a dir function.


Where do you get php cli?

If the operating system is linux open a terminal or ssh to the server and type: (as root) which php-cli or which php5-cli if nothing is ouputted it can't find it, then check if you've got it installed. Debian based distro's: apt-get install php5-cli hope this helps.


In Php5 is SimpleXML faster than the standard xml libraries?

No, it is not; it is built on top of the same XML framework as the existing libraries.


Does php5 support exception?

try{ answer('yes, yes it does.'); }catch(Exception $e){ echo "errr.... error dude: " . $e; }


What is difference between as on and as at?

difference between as on and as at