how to write php function

前端 未结 3 1399
無奈伤痛
無奈伤痛 2021-01-03 10:12

i want to know how i can write php function in c (like strtoupper). if is there any tutorial please put it here

thanks

3条回答
  •  南笙
    南笙 (楼主)
    2021-01-03 11:01

    You might also be interested in SWIG, the Simplified Wrapper and Interface Generator:

    SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages. SWIG is used with different types of languages including common scripting languages such as Perl, PHP, Python, Tcl and Ruby.

提交回复
热议问题