PHP4 vs PHP5

PHP4 vs PHP5

am 01.05.2011 04:31:44 von Vaibhav Informatics

--0016e68ba2663ecfc804a22db5b6
Content-Type: text/plain; charset=ISO-8859-1

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.


Dr Vijay Kumar,
E 9/18 Vasant Vihar, New Delhi-110 057 Ph: 09868 11 5354, 011-2615 4488
Email :"Dr Vijay Kumar"

--0016e68ba2663ecfc804a22db5b6--

Re: PHP4 vs PHP5

am 01.05.2011 16:16:34 von Toby Hart Dyke

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.


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php