Home > Backend Development > PHP Tutorial > python-c - php的拓展如何编译一下给其他语言用?

python-c - php的拓展如何编译一下给其他语言用?

WBOY
Release: 2016-06-06 20:20:19
Original
1233 people have browsed it

因为熟悉了php,其他语言要是能直接调用该多好啊…

回复内容:

因为熟悉了php,其他语言要是能直接调用该多好啊…

PHP的很多客户端性质的扩展大部分也只是对其C库的桥接(比如redis,mysqlnd之前的mysql/mysqli,libevent,gd,curl等等),你可以直接去找它们的C库,会发现非常亲切
如果你是希望其它语言调用你的PHP代码,可以考虑restful,soap,yar等RPC的形式来调用

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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template