Re: PHP4 vs PHP5
| From: | Toby Hart Dyke | Date: | Sun, 01 May 2011 14:16:34 +0000 |
| Subject: | Re: PHP4 vs PHP5 | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-47781@lists.php.net to get a copy of this message | ||
See:
http://us2.php.net/manual/en/migration5.php
That gives details of migration from PHP4 to PHP5. There are also guides for migration between each major point release:
http://us2.php.net/manual/en/migration51.php
http://us2.php.net/manual/en/migration52.php
http://us2.php.net/manual/en/migration53.php
As to whether you will need to rewrite, it all depends on the features you have used. For example, if you used any of PHP4's OOP features, you are in for a major rewrite. I would definitely get away from PHP4 - it is no longer supported.
Toby
On 4/30/2011 10:31 PM, Dr Vijay Kumar wrote:
We have developed a software using PHP 4. Can Someone advise if it i run it on PHP5 or keep using PHP4 or is there any need to re-write code for using PHP5.