What is PEAR? What is PECL? Two confusing concepts in PHP: pearpecl_PHP tutorial

Source: Internet
Author: User
What is PEAR? What is PECL? Two confusing concepts in PHP, pearpecl. What is PEAR? What is PECL? In PHP, there are two confusing concepts. pearpecl outlines PEAR and PECL, which we will know when learning PHP, but few people seem to use PEAR? What is PECL? Two confusing concepts in PHP, pearpecl

Overview

PEAR and PECL are two things you know when you are new to PHP, but few people seem to be familiar with it. In addition, they used to do development in Windows, so they didn't know much about it, now we have switched to Mac, so we can figure out these two items completely.

What is PEAR?

PEAR is PHP Extension and Application Repository. it is an Extension library of PHP and is written in PHP. Therefore, we can download it directly and include the (include) extension library in our code.

What is PECL?

The full name of PECL is PHP Extension Community Library, which is also the Extension Library of PHP. PECL extensions are all written in C language and can be loaded into PHP to add additional functions to PHP, such as PHP Mongo extensions.

PEAR VS PECL

PEAR is written in PHP, and PECL is written in C.
PEAR is also a PHP encoding standard

Summary

When you install the PHP Extension library in the future, for example, the Mongo extension will be directly installed using PECL, so no version mismatch will occur again ~~

Why? What is PECL? There are two confusing concepts in PHP. pearpecl outlines PEAR and PECL, which we will know when we are new to PHP, but few seem to be useful...

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.