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 [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 08, 2005 3:48 PM > To: Joseph Crawford > Cc: internals@lists.php.net > Subject: [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 [EMAIL PROTECTED] > 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