The new version of PHP greatly enhances functionality and performance _php
Source: Internet
Author: User
Keywords performance enhancement great new version PHP use other function can C
After 8 months of development and testing, PHP 4.3.0 was officially released. In terms of scope, time, and achievement, this is the most comprehensive PHP release, and, as an important competitor of the integrated scripting language arena, it will further improve the position of PHP.
Command line interface
This version eventually completes the stand-alone command-line interface (CLI), which can be used (together with PHP-GTK) to develop kernel and desktop applications. The CLI is built-in, but during configuration, it is installed automatically only when the CGI version is using the--disable-cgi switch, or with make install-cli. In Windows systems, the CLI can be found in the CLI directory.
Compared to other server APIs, the CLI is a lot different. Please find more details in the chapter "PHP Manual: Using PHP in the command line".
Streams flow
The streams streaming API is a very important non-disclosed feature. In the PHP kernel and extensions, a unified approach was introduced to process files, pipelines, sockets, and other I/O resources.
This means that for the user, any I/O functions that use the streams stream (and almost all of these functions) can access the built-in protocols, such as Http/https and Ftp/ftps, or you can enlist the use of custom protocols via PHP scripts. Please refer to the Supported protocols/Packages list for more detailed information.
New Installation System
Installation system in other places of repetition, a global makefile is used instead of a slow recursion, and the degree of synthesis of a fixed correlation is reduced. The Aclocal tool requires only automake. The entire installation process is more lightweight and consumes less resources.
Improved
PHP 4.3.x has many improvements and enhancements in place:
Bundle the GD library and recommend that you always use the bundled version of the GD library
Vpopmail and Cybermut extensions move to Pecl
Delete several infrequently used extensions (Aspell, Ccvs, CyberCash, ICAP) and Sapis (FASTCGI,FHTTPD)
Improves the speed of various string processing functions
Delete the Apache2 filter, also in the experiment (because many of the extensions based on external libraries are unsafe, PHP and worker patterns are used in prefork)
Fixed various security pitfalls (IMAP, MySQL, mcrypt, file upload, GD, etc.)
Embedding new SAPI into PHP in other applications (experimental)
A large number of test suites
Important improvements in DBA, GD, Pcntl, Sybase, and XSLT extensions
New Debug_backtrace () helps to debug
Now the error message can be linked to a webpage that describes the error or function problem
Zend Engine fixes small bugs and makes small performance improvements
Lots of other fixes, updates and new features, etc.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.