PearIs the abbreviation of the PHP extension and application repository. It is a code repository for PHP extensions and applications. In short, pear is the CPAN of PHP.
PECL(PhP extension Community Library), PHP extension library, which provides a series of known extension libraries written in C ++ and other languages. so format appears ,. so is a shared library and is a shared object used for dynamic connection. It is similar to DLL and is faster than pear. However, unlike pear, PECL needs to be configured on the server and registered to the host.
PerlPractical Extraction and report language was originally designed by Larry Wall, which was published in December 18, 1987. Perl uses the features of C, sed, awk, shell scripting, and many other programming languages. The most important feature is that it integrates the Regular Expression Function and a huge third-party code library CPAN. In short, Perl is as powerful as C and as convenient as script descriptive languages such as awk and sed. Perl
It is generally referred to as "Practical Extraction and report language". You may also see "Perl", where all letters are in lower case. In general, "Perl" has uppercase P, which refers to the language itself, while "Perl" and lower-case P refer to the interpreter for running programs.
========================================================== ========================================================== ==========================================
Pear: it is an extension code package of PHP. All extensions are in the form of PHP code. They are powerful and easy to install, and can even be used after modification. You must include it in the code before using it.
PECL: it is a standard extension of PHP and can supplement the functions required in actual development. All extensions need to be installed and appear in the form of DLL in windows. In Linux, it needs to be compiled separately. It is written in C language according to official PHP standards. Although the source code is open, the source code cannot be changed at will.
The most direct expression: pear is the upper-layer extension of PHP, and PECL is the underlying extension of PHP.
This is a collection of PHP extension modules.
There are two methods to expand PHP:
One is to use pure PHP code to Write Functions and classes. Pear is such a project. The homepage is pear.php.net.
Another method is to use C or C ++ to compile external modules and load them into PHP. PECL is responsible for this, and the home page is pecl.php.net.
Both methods provide ready-made functions or classes for specific applications. They are essentially the same.
From: http://blog.csdn.net/21aspnet/article/details/158961