Home > Backend Development > PHP Tutorial > What is PEAR? What is PECL? Explanation of two easily confused concepts in PHP, pearpecl_PHP tutorial

What is PEAR? What is PECL? Explanation of two easily confused concepts in PHP, pearpecl_PHP tutorial

WBOY
Release: 2016-07-13 09:48:02
Original
911 people have browsed it

What is PEAR? What is PECL? Explanation of two easily confused concepts in PHP, pearpecl

Overview

Regarding PEAR and PECL, I knew it when I first learned PHP, but it seems that few people use it. Plus, I used to do development under Windows, so I don’t know much about it. Now that I have switched to Mac, Get these two things straight.

What is PEAR

The full name of PEAR is PHP Extension and Application Repository, which is an extension library of PHP and is written in PHP language. So we can directly download and include the extension library in our code.

What is PECL

PECL’s full name is PHP Extension Community Library, which is also an extension library of PHP. PECL extensions are written in C language and can be loaded into PHP to add additional functions to PHP, such as PHP's Mongo extension.

PEAR VS PECL

PEAR is written in PHP and PECL is written in C language
PEAR is also a PHP coding standard

Summary

When installing PHP extension libraries in the future, such as Mongo extensions, install them directly using PECL, and there should be no more version mismatches~~

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/1024916.htmlTechArticleWhat is PEAR? What is PECL? Explanation of two easily confused concepts in PHP, pearpecl Overview Regarding PEAR and PECL, I knew it when I first learned PHP, but few people seem to use it...
Related labels:
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