Share on Google+Share on Google+

New features in PHP5?
1 Answer(s)      6 years and 5 months ago
Posted in : PHP


What are new features added in PHP5?


View Answers

October 29, 2010 at 3:09 PM


Following are new features added in PHP5

  1. Access Modifiers are added in PHP5

  2. PHP 5 introduces a number of new "magic" methods. Magic methods begin with a double underscore, and this requires changing any user-defined methods or functions that use this naming convention.

  3. PHP5 has built-in exception classes that makes it very easy to create your own customized exceptions through inheritance.

  4. PHP 5 introduces the Standard PHP Library (SPL), which provides a number of ready-made classes and interfaces.

  5. PHP5 comes with PDO which is a common interface for different database systems is only made possible by the new object model.

  6. SQLite is a database engine incorporated in php5 which can be used to develope faster, leaner and more versatile applications.

  7. In PHP 5 all Extensible Markup Language (XML) support is provided by the libxml2 XML toolkit.

  8. The reflection classes included in PHP 5 provide ways to introspect objects and reverse engineer code.

  9. In addition to built-in classes, PHP 5 also offers built-in interfaces. Iterator is the most important, as a number of classes and interfaces are derived from this interface.

  10. The major change to PHP in version 5 relating to OOP is usually summed up by saying that objects are now passed by reference.

  11. PHP 5 introduces the mysqli (MySQL Improved) extension with support for the features of MySQL databases versions 4.1 and higher. So use of prepare statements are allowed

Java Spring Hibernate Struts Training I am Java programmer. Should I learn Java Script or Python? Delete multiple records with pagination by selecting checkboxes How to add one hour in php date? connection in php connection in php connection in php PHP magento how to make previous and next Button Display Data in php session written exam display database results question create a simple form Magento Strings in PHP Zend Framework Installation in xampp? How to prevent adding duplicate items to the shopping cart php problem maximum execution time of 30 seconds exceeded in php Call-time pass-by-reference has been removed in HTTP_POST_VARS is deprecated $_GET[] index is not defined Function mysql_db_query() is deprecated Function mysql_db_query() is deprecated Function split() is deprecated Fatal error: Call to undefined function session_register() in .php file php tag not working Error reporting in PHP Why are MySQL Routines and Views not used with PHP? How to add Click to copy function to my wordpres blog? connection of php to MySQL. loan calculator Datepicker not getting called through include function of php change url string integrate login in php Installation of wamp server Display PHP clock with user input date and time value in div from php, reloading form pre-populate form developing a system using php n mysql Configure apache Tomcat to work with Eclipse and PDT in php How to display a file for 24 hours? LOGIN ERROR LOGIN FAILED", $_SESSION['login fail']='0',}?> I GOT ERROR FOR MY PROJECT PHP Sending emails and insert into trable Tutorial college Student Admission System PLZ HELP ME. i need php code.


Advertisement null