Wednesday, 6 December 2017

Glimpse of PHP

With the introduction of PHP 5 programmers will be enjoying numerous new features that will make their life more interesting.
  1. PHP has new integrated for support for XML. The various functions and classes provided to handle XML in different ways all now use the same underlying library (libxml2). This should make XML features more stable and interoperable.
  2. The SQLite SQL library is now bundled with PHP, together with all the functions you need to work with it.
  3. PHP now supports private and protected methods and properties in classes.
  4. PHP supports class constants.
  5. Objects passed to functions and methods are now passed by reference. That is, a reference to an object is passed around your script rather than copies of objects. This significantly reduces the likelihood of bugs in object-oriented code.
  6. PHP supports static methods and properties, making more advanced object-oriented designs possible.
  7.  Methods can now be declared to require particular object types.
  8. The comparison operator (===) now checks that two references point to the same object. Previously, it was hard to test objects in this way.
  9. PHP now supports abstract classes and interfaces.
Zend is a scripting engine that sits below the PHP-specific modules. It was optimized to ensure massively improved performance and extensibility.

With the introduction of the Zend Engine 2, PHP 5 brings new fundamental improvements. The engine provides significantly enhanced support for object-oriented programming. For the first time, objects and object-oriented design lie at the heart of PHP, making it an even more suitable platform for large enterprise applications.

No comments:

Post a Comment

Create your online identity with business or individual website. The Join Internet list provides you the articles related to hosting site, latest hosting reviews, news and latest updates from the hosting companies.