The new version of PHP has greatly enhanced functions and performance_PHP Tutorial

WBOY
Release: 2016-07-21 16:07:33
Original
905 people have browsed it

After 8 months of development and testing, PHP 4.3.0 is officially released. This is the most comprehensive PHP distribution in terms of scope, time, and achievements, and it will further enhance PHP's status as a serious contender in the general-purpose scripting language arena.


Command Line Interface
This release finally completes a standalone command line interface (CLI), which can be used (in conjunction with PHP-GTK) to develop kernel and desktop applications. CLI is a built-in part, but during the configuration process, it is automatically installed only when the CGI version uses the --disable-cgi switch; or use make install-cli. On Windows systems, the CLI can be found in the cli directory.


Compared with other server APIs, CLI has many differences. Please find more details in the chapter "PHP Manual: Using PHP from the Command Line".




Streams
The streams API is a very important undisclosed feature. A unified approach to handling files, pipes, sockets, and other I/O resources is introduced in the PHP core and extensions.


This means for the user that any I/O function that uses streams (and almost all of them) can access built-in protocols such as HTTP/HTTPS and FTP/FTPS, as well as Register using a custom protocol via PHP script. Please refer to the "Supported Protocols/Packages List" for more details.


New installation system
The installation system uses a global Makefile instead of slow recursion in other duplicated places, and reduces the comprehensiveness of fixed dependencies. The aclocal tool only requires automake. The entire installation process is lighter and consumes fewer resources.


Improvements
PHP 4.3.x has many improvements and enhancements:
The GD library is bundled and it is recommended to always use the bundled version of the GD library
vpopmail and cybermut extensions Moved to PECL
Removed several uncommon extensions (aspell, ccvs, cybercash, icap) and SAPIs (fastcgi, fhttpd)
Improved the speed of various string processing functions
Removed Apache2 filters, Still in experiment (since many extensions based on external libraries are unsafe, use PHP and worker mode in prefork)
Fix various security risks (imap, mysql, mcrypt, file upload, gd, etc.)
Implant new SAPI into PHP in other applications (experimental)
Extensive test suites
Important improvements in dba, gd, pcntl, sybase and xslt extensions
New debug_backtrace() Helps with debugging
Error messages can now link to web pages describing errors or functional issues
Zend Engine has fixed minor bugs and made minor performance improvements
Lots of other fixes, updates, new features, and more

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/315115.htmlTechArticleAfter 8 months of development and testing, PHP 4.3.0 is officially released. This is the most comprehensive PHP distribution in terms of scope, time, achievements, and, as a general purpose kicker...
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template