Re: Writing PHP extensions (C/C++)



On Fri, 28 Nov 2008 13:24:57 +0000, "(2b|!2b)==?"
<void-star@xxxxxxxxxxxxxx> wrote:

trookat wrote:
(2b|!2b)==? wrote:
Is this a ng where I can ask questions regarding writing extension
libraries for PHP? - or is that considered OT (off-topic)?

If OT, can anyone suggest where I may direct my questions to - since
Google searches on "newsgroups + PHP + extensions" (and various
combinations thereof) does not yield anything useful ...

Its not OT , I know nothing about it .
5 secs of goolging : php custom c++

http://www.devarticles.com/c/a/Cplusplus/Developing-Custom-PHP-Extensions-Part-1/


there you go at least its a stating point

goodluck

regards trookat

thanks trookat - but I have already written the extension (i.e. I know
how to write extensions), I just need more information on some of the
Zend internals (e.g. which is better zend_register_list_destructors_ex
or zend_register_resource_destructors_ex - they seem to be both doing
the same thing but and are used to do the same thing [registering
resources] in different documentation) ...


You may use the link gieven by trook ...
This link permit to point to the author of the article
-> http://www.devarticles.com/cp/bio/Igal-Raizman/
and in that page, perhaps you can send a mail to Igal Raizman ( who
look experienced ) asking your precise question.

.



Relevant Pages

  • Fwd: php extensions compile error
    ... Subject: php extensions compile error ... checking for C compiler default output file name... ... checking for PHP extension directory... ... libgnome-2.10.0_1 Libraries for GNOME, a GNU desktop environment ...
    (freebsd-hackers)
  • Fwd: php extensions compile error
    ... Subject: php extensions compile error ... checking for C compiler default output file name... ... checking for PHP extension directory... ... libgnome-2.10.0_1 Libraries for GNOME, a GNU desktop environment ...
    (freebsd-questions)
  • Upgrading to 60 question.
    ... <ACPI PCI bus> on pcib0 ... <Parallel port bus> on ppc0 ... libmcrypt-2.5.7_1 Multi-cipher cryptographic library (used in PHP) ... p5-XML-Parser-2.34_1 Perl extension interface to James Clark's XML parser, ...
    (freebsd-questions)
  • Re: openssl extension not loading (need to open https stream)
    ... you configured PHP?" ... I have also enabled the openssl extension and made sure it is ... in the extension folder. ... the apache module ...
    (comp.lang.php)
  • PHP 5.0.0 Beta 2 released!
    ... PHP 5.0.0 Beta 2 has been released. ... PHP 5 features the Zend Engine 2. ... XML support has been completely redone in PHP 5, ... It can also interface with the DOM extension and vice-versa. ...
    (php.general)