Home > Article > Backend Development > Php5.0 instructions ------php5_PHP tutorial for object-oriented
Php5.0 description ------PHP5 born for object-oriented
PHP5 born for object-oriented
-------------------- --------------------------
[Abstract] The object-oriented functions of PHP5 currently under development have been greatly enhanced. What kind of language will the next generation of PHP be? Let’s explain in detail the currently released beta release of PHP5.
(1) The birth of Zend 2.0
The basic grammar used by PHP4 today is a script compilation engine called the Zend engine. This is one of the reasons for the excellent functions of PHP4, which is a language generated as an improvement to PHP3. Everyone has always believed that the performance of PHP4 has been greatly improved compared to PHP3 based on the original goals, and it occupies a large share in the world of network programming.
The Zend company that developed the Zend engine was merged from the companies founded by Zeev Suraski and Andi Gutmans, the main developers of PHP3, while developing PHP4. Zend's name is a combination of Zeev and Andi's names. Zend's business model is to continuously provide the PHP core of the zend engine to open source, while at the same time increasing the benefits of peripheral product development and sales. Businesses based on open source software are considered to be relatively good typical examples among most struggling companies around the world.
■Limitations of PHP4
Thanks to the success of PHP4, the scope of application of this application is gradually becoming wider. There is talk of using PHP for enterprise-level purposes. Therefore, there is a problem that when building a large-scale website, the reusability of the code is very poor. Specifically, the object-oriented performance of PHP4 is very weak, so technical personnel who are accustomed to using Java and other technologies have many complaints about this.
By gradually improving the object-oriented performance of PHP4 and significantly changing the basic grammar, the developers achieved the development goal of updating the PHP description method.
■Zend 2.0 begins development
Subsequently, developers at the Zend PHP Center announced the concept of the Zend 2.0 engine as the next generation PHP language engine in July 2001. While targeting [Zend Engine version 2.0: Feature Overview and Design]
(http://www.zend.com/engine2/ZendEngine-2.0.pdf), the object-oriented performance has been greatly enhanced.
The expansion of the current PHP4 Zend engine is exactly the same as that of PHP3 in the past. This means increasing the major version number of the new language engine, clarifying the method goals, and receiving praise from the development team.
The development of Ze2, like the previous Zend engine, runs in the open source mode. The latest source code is fully disclosed on CVS, and because it is for open developers, discussions about development are very active.
Now Ze2 has been decided to be adopted in the next version of PHP, PHP5. The final release time has not yet been determined, but if according to the Newsletter released by Zend Company on April 1, 2003, it should be a Beta Release now.