Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » PHP
  • » [PHP-DEV] Re: Documentation for creating PECL extension [RSS Feed]

#1 Dec. 8, 2005 23:49:46

Sara G.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[PHP-DEV] Re: Documentation for creating PECL extension


> I have some knowledge of C and would like to
> learn more, i have a great book by Deitel & Deitel
> and have gone through it. What i would like to know is
> where i can get docs on creating PHP extensions so
> that i could use them with my PHP on windows and nix.
>http://www.zend.com/php/internals/should be enough to get you started.

George Schlossnagle's "Advanced PHP Programming" has a chapter or two in the
back on extension development, and I should have "Extending and Embedding
PHP" out early next year.

Beyond that, just ask questions (preferrably on the
list -- internals@ is supposed to be focused on the core) and hopefully
someone will be able to offer insight.

-Sara

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit:http://www.php.net/unsub.php

Offline

#2 Dec. 9, 2005 03:22:51

Bob S.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

[PHP-DEV] Re: Documentation for creating PECL extension


I started out by copying ext/skel and went from there. Using some real
simple extensions as examples helps as well, SPL was really helpful since my
extension is all object based, and I didn't need to interface with an
external library, in that case, mysqli is a real clean example.

Read Sara's articles on zend.com to understand the zval structure and
parameter parsing api, once you have these down the rest flows pretty well
even without a background in C.

Hope this helps,

Bob Silva

> -----Original Message-----
> From: Sara Golemon
> Sent: Thursday, December 08, 2005 3:48 PM
> To: Joseph Crawford
> Cc: intern***@*ists.php.net
> Subject: Re: Documentation for creating PECL extension
>
> > I have some knowledge of C and would like to
> > learn more, i have a great book by Deitel & Deitel
> > and have gone through it. What i would like to know is
> > where i can get docs on creating PHP extensions so
> > that i could use them with my PHP on windows and nix.
> >
>http://www.zend.com/php/internals/should be enough to get you started.
>
> George Schlossnagle's "Advanced PHP Programming" has a chapter or two in
> the
> back on extension development, and I should have "Extending and Embedding
> PHP" out early next year.
>
> Beyond that, just ask questions (preferrably on the
> list -- internals@ is supposed to be focused on the core) and hopefully
> someone will be able to offer insight.
>
> -Sara
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit:http://www.php.net/unsub.php--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit:http://www.php.net/unsub.php

Offline

  • Root
  • » PHP
  • » [PHP-DEV] Re: Documentation for creating PECL extension [RSS Feed]

Board footer

Moderator control

Enjoy the 20th of January
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support