Home >Backend Development >PHP Tutorial >Examples to explain the new features of PHP5 (1)_PHP tutorial

Examples to explain the new features of PHP5 (1)_PHP tutorial

WBOY
WBOYOriginal
2016-07-15 13:24:461095browse

Although PHP5 has not yet been officially released (the development version is already available for download), we can now start to experience the surprises that the new version will bring us. In the following introduction, we will focus on the three major features in PHP5. These three major features are:

* New Object Mode (New Object Mode)

* Exception Handling (Exceptions)

* Namespace (Namespace)

Before starting, two points should be made:

* In order to illustrate how to operate, some parts of the examples in the article use PHP4 performance methods. This is only to improve the readability of the article. * There may be some differences between the parts described in the article and the final release version of PHP5

Before PHP5 is finally officially released, you can always download it from

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/446744.htmlTechArticleAlthough PHP5 has not been officially released yet (the development version is already available for download), we can start to experience the new version now The version will bring us surprises. In the following introduction, I...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn