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> <Ostatní publikace o PHP
Last updated: Sat, 24 Mar 2007

view this page in

Příloha B. Migrating from PHP 5.1.x to PHP 5.2.x

Obsah

What has changed in PHP 5.2.x
Backward Incompatible Changes
New Error Messages
Changes in PHP datetime support
New Parameters
New Functions
New Methods
Removed Extensions
New Extensions
New Classes
New Global Constants
New Class Constants
New INI Configuration Directives
Error Reporting
Other Enhancements

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 text 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 09:54
You can just extend Datetime with your current class.
sam at silverstripe dot com
28-Jul-2007 10: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> <Ostatní publikace o PHP
Last updated: Sat, 24 Mar 2007
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites