How to mix programming with php and c language

WBOY
Release: 2016-10-22 00:14:18
Original
1660 people have browsed it

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.

Related labels:
php
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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!