Re: [PHP] Create DLL of PHP class



Manoj Singh wrote:

Hello All,
I have the task to create DLL of PHP class.

Please advise how to do it.

I think you'll have to look up how to write a PHP extension. Then you
implement your class in C as a PHP extension, and build that as a DLL.


/Per Jessen, Zürich

.



Relevant Pages

  • Newbie asks about accessing COM from C...
    ... through PHP, but it looks like I'll need to write a C "PHP Extension" to do ... I have an interface diagram and know the methods I need to call. ... The other question is how to integrate a blob of C++ code into a C DLL. ...
    (microsoft.public.win32.programmer.ole)
  • Re: Using C libraries and PHP - calling functions in external libraries
    ... Unfortunately, my .dll is a Windows .dll, ... not a PHP extension - and it needs to run on my hosted UNIX server, ... PHP call to it to respond properly. ...
    (alt.php)
  • Re: [PHP] Create DLL of PHP class
    ... I have the task to create DLL of PHP class. ... I think you'll have to look up how to write a PHP extension. ... I'll second this with a big WTF and RTFM. ...
    (php.general)
  • Re: [PHP] Create DLL of PHP class
    ... Maciek Sokolewicz wrote: ... I have the task to create DLL of PHP class. ... I think you'll have to look up how to write a PHP extension. ...
    (php.general)
  • Re: [PHP] Create DLL of PHP class
    ... I have the task to create DLL of PHP class. ... implement your class in C as a PHP extension, and build that as a DLL. ... Which is a total "wtf" for most people. ...
    (php.general)