pni icon indicating copy to clipboard operation
pni copied to clipboard

PHP Native Interface(PNI), a PHP extension that enables PHP code to call and be called by native applications (programs specific to a hardware and operating system platform) and libraries written in o...

Results 5 pni issues
Sort by recently updated
recently updated
newest added

但是我看到windows上的php7.4已经直接带了php-ffi这个扩展了,也可以调用外部dll了

https://github.com/CopernicaMarketingSoftware/PHP-CPP pni转到C去操作php的数据结构 ,因为这些数据结构没有api操作难以使用,能否封装一下 别人实现好的数据结构,这样只需要 编写 C/C++ 代码,包含头文件就可以了

ZEND_REGISTER_RESOURCE 是跨进程的,还是本进程有效 ZEND_REGISTER_RESOURCE 有一个进程注册了,另一个进程 需要再次注册 么 也就是说 并发情况下,动态库 会加载1次还是 多次

foreach 调用函数 ,每一个参数 都要 new typeClass($typeData) 是不是 new 了太多对象了,性能会有损失吧, 本来使用该库就是为了性能,能否改成 ['type1'=>data1, 'type2'=>data2, ..., 'typen' => datan],这样 是否可以