Re: PHP versions - Development server & live server...
| From: | rik onckelinx | Date: | Wed, 13 Oct 2004 21:31:34 +0000 |
| Subject: | Re: PHP versions - Development server & live server... | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-36781@lists.php.net to get a copy of this message | ||
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