Req #52925 [Opn]: PHP/C API ?
| From: | cataphract@php.net | Date: | Sun, 26 Sep 2010 19:54:29 +0000 |
| Subject: | Req #52925 [Opn]: PHP/C API ? | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-154639@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52925&edit=1
ID: 52925
Updated by: cataphract@php.net
Reported by: dev at kbonez dot net
Summary: PHP/C API ?
Status: Open
Type: Feature/Change Request
Package: *General Issues
Operating System: all
PHP Version: Irrelevant
Block user comment: N
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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