Edit report at http://bugs.php.net/bug.php?id=52925&edit=1
ID: 52925 Updated by: paj...@php.net Reported by: dev at kbonez dot net Summary: PHP/C API ? -Status: Open +Status: Bogus Type: Feature/Change Request Package: *General Issues Operating System: all PHP Version: Irrelevant Block user comment: N New Comment: See http://pecl.php.net/ffi Previous Comments: ------------------------------------------------------------------------ [2010-09-26 21:54:29] cataphr...@php.net The approach PHP uses is similar to that of Oracle with Java -- like with JNI, you have to write a native program to bridge PHP and C. Writing an interface to "call C code directly" (loading functions directly from libraries, convert between PHP and native types transparently, etc.) would require a lot of effort to do in a cross-compatible fashion. ------------------------------------------------------------------------ [2010-09-26 12:56:18] dev at kbonez dot net Description: ------------ dear,all. I have an issue for a long time . that is in lots languages, the contain some apis can call c-code directly . but php not. whyï¼ and do you plan it ? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=52925&edit=1