About

الخميس، 15 مارس 2012

What's New in PHP 5

May Allah's peace , mercy and blessing be upon you






What's New in PHP 5  ????
PHP 5 offers many new features that will make the programmer life more interesting. Let's take a quick look at some of them.





PHP has a new integrated support for XML. Different functions and Classes provided for dealing with XML in different ways for now use the same core library (libxml2). And these features should make the XML more stable and interoperable.

** Is now one SQL SQLite library with PHP, along with the functions of all you need to work with them.

** PHP now supports private and protected methods and properties in the classes.

** PHP supports class constants.

** Now objects are passed that are passed to functions and methods by reference. That is, is passed a reference to an object on your script instead of copies of the objects. This significantly reduces the likelihood of the emergence of gaps in the object-oriented code.

** PHP supports static methods and properties, making it a more sophisticated object-oriented designs as possible.

** Can now declare that means you need to type a particular object.

** Comparison factor (===) now checks that the two references refer to the same object. Previously, it was difficult to test things like this.

** PHP now supports abstract classes and interfaces.

** Many of these improvements are the result of some fundamental changes under the hood.

0 التعليقات:

إرسال تعليق

Twitter Delicious Facebook Digg Stumbleupon Favorites More