PHP pecl and pear differences

Source: Internet
Author: User
Tags pear

PEAR is the abbreviation for "PHP Extension and Application Repository", which is the PHP extension and application repository.

PEAR the PHP program development process common functions to write into class library, covering the page rendering, database access, file operations, data structure, caching operations, network protocols, WebService and many other aspects, users can download these libraries and appropriate to make some customizations to achieve their own needs. Avoid repeatedly inventing "wheels". The advent of PEAR greatly improves the efficiency and quality of development of PHP programs.

PECL is the abbreviation for "PHP Extension Community Library", or PHP extension.

PECL can be seen as an integral part of the pear, providing functionality similar to pear. The difference is that all of pear's extensions are written in pure PHP code, and users can use the extended code to include their own PHP files directly after downloading to the pear extension. PECL, which is developed using the C language, is often used to supplement some of the underlying features that are difficult to do with PHP, and often need to be recompiled or set in a configuration file before it can be used in the user's own code.

PHP Learning Summary: The most direct expression: Pear is the upper layer of PHP extension, pecl is the underlying PHP extension. They all provide ready-made functions or classes for specific applications.

PHP pecl and pear differences

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.