PEAR is an abbreviation for PHP extension and application library. It is a PHP extension and application of a code warehouse, simply, PEAR is PHP's CPAN.
PECL (PHP EXTENSION Community Library, PHP expansion), provides a series of known extensions, written in other languages such as C , in the form of .so, .so is shared library, is shared object, use Dynamically connected, and the DLL is similar, which is faster than pear, but is different from PEAR, PECL needs to be configured on the server and registered into the host.
The original designer of Perl (Practical Extraction and Report Language) was larry Wall, which was published on December 18, 1987. Perl takes the characteristics of C, SED, AWK, Shell Scripting, and many other programs. The most important feature is that it integrates the functionality of regular expressions, as well as huge third-party code library CPAN. In short, Perl is as strong as C, like awk, sed and other script description languages are as convenient. Perl is generally called "Practical Extraction and Report Language), you may also see" Perl ", all letters are lowercase. General, "Perl", with uppercase P, refers to the language itself, and "perl", lower-written P, is an interpreter that is running.
============================================================================================================================================================================================================= ============================================================================================================================================================================================================= ================
PEAR: It is a PHP extension code package, all extensions appear in the form of PHP code, powerful, easy to install, and can even be used. When using it, you have to use INCLUDE in your code.
PECL: is a standard extension of PHP, which can supplement the functions required in actual development, all extensions need to be installed, under Windows, in the form of a DLL, under Linux, need to be compiled separately, its expression is based on PHP The official standard is written in C language, although the source is open but the average person cannot change the source code.
The most direct expression: PEAR is the upper level extension of PHP, and PECL is the underlying extension of PHP. This is a collection of PHP extension modules, which is two ways to write functions and classes with pure PHP code. Pear is the project, the home page is the Pear.php.net of the other is the exterior with C or C . The module is loaded into the PHP. The PECL is doing this matter. The home page is PECL.PHP.NET. These two methods are actually provided to provide ready-made functions or classes for specific applications. Essentially the same