Home  >  Article  >  Backend Development  >  Detailed introduction to PHP core functions_PHP tutorial

Detailed introduction to PHP core functions_PHP tutorial

WBOY
WBOYOriginal
2016-07-15 13:28:071149browse

PHP is one of the languages ​​​​that we have always paid close attention to. With the upgrade of PHP6, its functions are becoming more and more powerful. Here we will introduce the core content of PHP in detail. PHP core developer Andrei Zmievski stated in the keynote speech at the recent 2009 Zend/PHP conference: "In the next important upgrade of PHP6, Unicode will be supported to help developers write software that can be deployed in multiple different language markets. "

If you only develop applications for specific language markets, you will lose business opportunities elsewhere. As early as April 2006, Andrei Zmievski proposed the need to support Unicode in the future, and he believed that this matter should have been done long ago. The so-called Unicode means that no matter what platform or language, a unified encoding is used. For PHP6, including the string type, Unicode will be built-in.

PHP6’s Unicode makes it easier to write applications that can handle various languages ​​​​and encodings. For example, it is easy to write an application that supports both Chinese and Japanese. , English applications to face users from China, Japan and English-speaking countries at the same time. PHP's enhanced internationalization is something that has always been expected and exciting, especially for software developers who were not born in the United States and the United Kingdom and business owners who use PHP websites to provide services, including the continued growth of Chinese foreign trade enterprise websites. . Some vendors that provide PHP content management systems also report that it is very difficult for the current PHP version to support internationalization, so the upcoming internationalization upgrade is very helpful to them.

As seen from PHP’s official website, PHP’s Unicode Completion Stats are about 70% as of today, but PHP core developers still need to complete Unicode development in aspects such as cookie access and PDO (PHP Database Objects). Zmievski said: "After this part is completed, we will test PHP6 on some well-known applications and frameworks, such as Drupal."

Gutsman, the core developer of PHP, said: PHP is now more widely used and the economy is not The boom has accelerated the use of open source and PHP, because in the economic recession, companies have to increase productivity and reduce costs, and PHP can do exactly this.

It is also an important branch of Web development languages ​​and platforms. The development of Java. The original enterprise-level Java has been gradually replaced by popular lightweight frameworks such as Spring because it is not suitable for Web loads. Some Java developers are also turning to dynamic languages ​​​​such as PHP, so international support will play a greater role in the growth of the PHP camp. But for the implementation carrier of the Internet, Web development languages/platforms, their vitality itself comes from the continuous evolution and development with the development of the Internet. This is true whether PHP supports Unicode or Java becomes more lightweight.

It is worth noting that PHP6 will also improve the processing of numbers, including long numbers. In addition, traits, different from vertical inheritance of classes, a function that can reuse code horizontally is also under consideration. Developers will not need to deal with multiple inheritance to add functions.

Zend also announced last week the beta version of Zend's PHP IDE, Zend Studio 7.1, which provides remote server support and integrated task support. Version 7.1 is planned to be officially available by the end of 2009.

For more detailed information about PHP6 for Unicode, please refer to the PHP official website and the speech documents provided on Andrei Zmievski's website. The latest development version of PHP6 can be obtained from http://snaps.php.net/.


www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/446473.htmlTechArticlePHP is one of the languages ​​​​that we have always paid close attention to. With the upgrade of PHP6, its functions are also getting more and more The more powerful it is, let’s introduce the core content of PHP in detail here. PHP core developer Andre...
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