Is it possible to use C++ binaries from php

前端 未结 8 1945
囚心锁ツ
囚心锁ツ 2020-12-01 08:00

Is it possible to write some C or C++ code and compile to binaries, then use those binaries with php? Is it also possible to write a php library using C and C++ ?

If

8条回答
  •  北荒
    北荒 (楼主)
    2020-12-01 08:56

    You can build shared object extensions that php can then load. There's a short tutorial on this at http://devzone.zend.com/node/view/id/1021

提交回复
热议问题