JavaScript Editor Javascript debugger     Website design 


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: