New features in PHP5?

New features in PHP5?

hello,,

What are new features added in PHP5?

View Answers

October 29, 2010 at 3:09 PM

hii,

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









Related Tutorials/Questions & Answers:
New Features in Hibernate 4
New features in PHP5?
Advertisements
What are the new features of Spring 4.1?
JSP 2.0 - New Features
New features of MongoDB 2.6
New Features in JDBC 4.0
New features in PHP 5.5
New Features of JAVA SE 6.
ModuleNotFoundError: No module named 'mkdocs-new-features-notifier'
What are the new features of Hibernate 4.3.0.final ORM?
JPA 2.1 New Features
Hibernate 6 New Features
Hibernate 6 New Features
New Features of Spring Framework 3.2
Python 3.11 new features
What are New Features in JAVA SE 6
New PHP 7.4 Release: The Features and Value Additions
Spring 3.0 features
Flex 4 Features
All New HP 3D Printer: Specs, Features and Expectations Explained
Features
Struts 2.3.8 released with new features
Servlet 3.0 Features
Features of St. James Church New Delhi
JDBC 4 Features, JDBC 4.0 Features
Java/JDK 15 upcoming new features
10 Exciting New Features in Windows 8.1
Features of Servlets 2.4
Features of Spring 4
new
new
new
new
Java 5 Features
MySQL 8 Features
Learn the Java 8 and master the new features of JDK 8
Spring Framework 4.1 GA is released with major features
What's New In Hibernate 4.0 release
Struts 2.1.8 Features
Hibernate 5 Features
Features of EJB 3.0
Hibernate 4.3 ORM Features
Android 4.3 Jelly Bean - What's new in Android 4.3 Jelly Bean?
Features of Java
Whar are the features of Spring Framework
What's new in JDBC 3.0?
Hibernate Features
Spring 4 features
All Features of iOS 10 Explained
java features

Ads