Req #52925 [Opn->Bgs]: PHP/C API ?

From: Date: Sun, 26 Sep 2010 20:33:03 +0000
Subject: Req #52925 [Opn->Bgs]: PHP/C API ?
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-154640@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:         pajoye@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] cataphract@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


Thread (3 messages)

« previous php.bugs (#154640) next »