Home >Backend Development >PHP Tutorial >What is PEAR? What is PECL? _PHP Tutorial

What is PEAR? What is PECL? _PHP Tutorial

WBOY
WBOYOriginal
2016-07-13 09:47:51896browse

What is PEAR? What is PECL?

This article mainly introduces what is PEAR? What is PECL? Two easily confused concepts in PHP. This article explains their differences in concise language. Friends who need it can For reference

Overview

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

 What is PEAR

PEAR’s full name 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

The full name of PECL 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/1025324.htmlTechArticleWhat is PEAR? What is PECL? This article mainly introduces what is PEAR? What is PECL? Two easily confused concepts in PHP. This article explains their differences in concise language...
Statement:
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