Tuesday, November 11, 2008

New Functions and methods in PHP 5.3

New Functions & Methods :New Functions & Methods Too many for this presentation.
They include:
Array, Date, GMP, Hash, Image, Math, Mcrypt, Network, PCNTL, PHP Core, SHM, SPL, Streams, Strings

New Functions & Methods :New Functions & Methods Array Functions “array_replace()” – Finds and replaces based on key and merges the remainder.
“array_replace_recursive()” – Recursively finds and replaces based on key and merges the remainder.


New Functions & Methods :New Functions & Methods Date Functions “date_add()” – Adds an amount of days, months, years, hours, minutes and seconds to a DateTime object.
“date_sub()” – Subtracts an amount of days, months, years, hours, minutes and seconds from a DateTime object
“date_diff()” – Takes two DateTime Objects and calculates the difference.


New Functions & Methods :New Functions & Methods PHP Core “class_alias()” – Creates an alias of a class name.
“forward_static_call()” and “forward_static_call_array()” – Related to Late Static Binding. This will be discussed in another presentation.

1 comment:

srujana said...

Win Exciting and Cool Prizes Everyday @ www.2vin.com, Everyone can win by answering simple questions. Earn points for referring your friends and exchange your points for cool gifts.