Delicious Bookmark this on Delicious Share on Facebook SlashdotSlashdot It! Digg! Digg



PHP : Appendices : Migrating from PHP 5.1.x to PHP 5.2.x : New Parameters

New Parameters

Some functions were given new, optional, parameters in PHP 5.2.x:

PHP Core:

curl:

datetime

  • date() - added "u" (milliseconds) format character in PHP 5.2.2

imap:

mbstring:

  • mb_strrpos() - added offset

    Warning:

    The offset parameter was put in the position the encoding parameter used to be. Backward compatibility has been provided by allowing encoding to be specified as the third parameter. Using this backward compatibility mode is not recommended because it will be removed in a future release of PHP.

ming:

openssl:

pgsql:

simplexml:

spl:

  • array iterator_to_array(Traversable it [, bool use_keys = true]) - added use_keys in PHP 5.2.1

xmlreader:

XMLWriter:

Change Language


Follow Navioo On Twitter
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
eXTReMe Tracker