PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Backward Incompatible Changes> <Publications about PHP
Last updated: Fri, 10 Oct 2008

view this page in

Migrating from PHP 5.1.x to PHP 5.2.x

Table of Contents

See also the migration guides for PHP versions 5.0.x and 5.1.x.

What has changed in PHP 5.2.x

Most improvements in PHP 5.2.x have no impact on existing code. There are a few incompatibilities and new error messages that should be considered, and code should be tested before switching PHP versions in production environments.

If the system is being upgraded from PHP 5.0.x, the manual section titled Upgrade Notes for PHP 5.1.x should also be read.

Similarly, if the system is being upgraded from PHP 4, the manual section titled Migrating from PHP 4 to PHP 5 should be read as well.



add a note add a note User Contributed Notes
Migrating from PHP 5.1.x to PHP 5.2.x
Andrew
19-Feb-2008 05:54
You can just extend Datetime with your current class.
sam at silverstripe dot com
28-Jul-2007 05:22
PHP 5.2 introduced a new class, Datetime.  If you already had a class in your app called Datetime then you're in trouble.

Backward Incompatible Changes> <Publications about PHP
Last updated: Fri, 10 Oct 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites