Thursday, 29 May 2014

Extra Features of PHP5



Extra Features of PHP5

PHP was introduced on 13 July 2004. PHP5 is the latest ver. Of PHP. I have many new features like OOP, PDO (php data object) extension. We are here covering the new features of PHP5
·         It is more object oriented than PHP4
·         An abstract class can be declared in PHP5
·         It has a unique function autoload()
·         You can define a method or class as final
·         It has some magic functions like _get, _set, _call and _toString
·         It has clean error handling and exceptions as well
·         Private, Public and Protected has been introduced as well
·         Objects uses passed by reference
·         It has some new keywords and functions
·         It has a new extension of MySQL called MySQLi
·         It has a newly built-In extension called SOAP for interoperability of Web services
·         It has SimpleXML extension for making XML as PHP objects. It support DOM extension.
·         It has extra OOP concepts like Inheritance, Encapsulation and access specifiers
·         It consumes less RAM
·         It has new concept of errors like “E_STRICT
·         It has new interfaces as well
·         It introduces Constructor and Destructors
·         It is fully compatible with W3 standard
PHP 5.4.28 has been released on May 1st 2014. 9 bugs has been removed in this release. This is the latest update of PHP5.

No comments:

Post a Comment