Home  >  Article  >  Backend Development  >  How to mix programming with php and c language

How to mix programming with php and c language

WBOY
WBOYOriginal
2016-10-22 00:14:181712browse

I heard from others that some projects use PHP as the foundation and C as the bottom layer. I am curious about how they worked together before? I know there is a way to write C as an extension library of PHP and call it in PHP? is that so?

Reply content:

I heard from others that some projects use PHP as the foundation and C as the bottom layer. I am curious about how they worked together before? I know there is a way to write C as an extension library of PHP and call it in PHP? is that so?

Use C language to develop and expand applications suitable for computing-intensive business scenarios.

More often, it is based on the microservice architecture, developing an underlying unchanged system in C language, and exposing the tcp/http RPC interface to PHP. That is to use the Internet to achieve cross-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