Re: PHP versions - Development server & live server...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

PHP 5 has some serious changes compared to 4.x
This might be a good start: http://www.php.net/manual/en/faq.migration5.php

For OO programming issues read those:

php 4: http://www.php.net/manual/en/language.oop.php
php 5: http://www.php.net/manual/en/language.oop5.php 

According to php.net:

What has changed in PHP 5

PHP 5 and the integrated Zend Engine 2 have greatly improved PHP's performance 
and capabilities, but great care has been taken to break as little existing 
code as possible. So migrating your code from PHP 4 to 5 should be very easy. 
Most existing PHP 4 code should be ready to run without changes, but you 
should still know about the few differences and take care to test your code 
before switching versions in production environments. 

Although most existing PHP 4 code should work without changes, you should pay 
attention to the following backward incompatible changes: 

Regs,

Rik O
Belgium



Op woensdag 13 oktober 2004 23:08, schreef Robby Russell:
> On Wed, 2004-10-13 at 22:06 +0100, Peter Borcherds wrote:
> > Hi Robby,
> >
> > Thanks for the swift reply!  Okay, so it should be fine to install the
> > 4.3.9 version then - okay...now I assume I should hold-off on the 5.0.2
> > release then...?
>
> Peter,
>
> Yes, if you build PHP5 code, it's very possible it will not work on 4.x
> hosting servers...especially object oriented programming.
>
> As a rule of thumb, keep your development and live environments as close
> as possible. :-)
>
> Cheers
>
> -Robby

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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux