After 8 months of development and testing, PHP 4.3.0 was officially released. This is the most comprehensive PHP release in terms of scope, time, and achievement, and as an important competitor to the comprehensive scripting language arena, it will further improve PHP's position.
Command-line interface
This version eventually completes the standalone command-line interface (CLI), which can be used (together with PHP-GTK) for the development of kernel and desktop applications. The CLI is a built-in part, but in the configuration process, it is installed automatically only when the CGI version uses the--disable-cgi switch, or use make install-cli. In Windows systems, the CLI can be found in the CLI directory.
There are many differences between the CLI and the other server APIs. Find out more in the "PHP Manual: Using PHP in the command line" chapter.
Streams flow
The Streams Flow API is a very important undisclosed feature. In the PHP kernel and extension, a unified approach is introduced to handle files, pipelines, sockets, and other I/O resources.
This means that for the user, any I/O functions (and almost all of these functions) that use the streams stream can access the built-in protocols, such as Http/https and Ftp/ftps, or you can register using a custom protocol through a PHP script. Please refer to the Supported protocols/Packages list for more detailed information.
New Installation System
Install the system in other places where it is duplicated, a global makefile is used instead of slow recursion, and the degree of consolidation of the fixed dependencies is reduced. The Aclocal tool only needs automake. The entire installation process is lighter and consumes less resources.
Improved
PHP 4.3.x has a number of improvements and enhancements to place:
Bundling the GD library and recommending the GD library that has been using bundled versions
Vpopmail and Cybermut extended to Pecl
Delete several infrequently used extensions (Aspell, Ccvs, CyberCash, ICAP) and Sapis (FASTCGI,FHTTPD)
Improves the speed of various string processing functions
Remove the Apache2 filter, also in the experiment (because many of the extensions based on external libraries are unsafe, using PHP and worker mode in prefork)
Fixes various security risks (IMAP, MySQL, mcrypt, file upload, GD, etc.)
Insert new SAPI into PHP in other applications (experimental)
A large number of test suites
Significant improvements in DBA, GD, Pcntl, Sybase, and XSLT extensions
The new Debug_backtrace () helps debug
Now the error message can be linked to a Web page that describes an error or function problem
Zend Engine fixes minor 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.