Re: Creating a class in a php extension

From: Date: Tue, 19 Jun 2007 23:18:26 +0000
Subject: Re: Creating a class in a php extension
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-30278@lists.php.net to get a copy of this message
Jordan Wambaugh wrote: > I've just recently begun writing PHP extensions for the first time. Sara > Golemon's article on extension development has been a priceless resource for > me, but I haven't been able to find any documentation on how to define a > class, give it methods and properties etc within an extension. Is there any > documentation on this? If not, can someone point me in the right direction? Hi Jordan, The extensions in ext/ and pecl/ (particularly the simple ones like pecl/spread http://cvs.php.net/viewvc.cgi/pecl/spread/php_spread.c?view=markup) demonstrate the process. I find http://lxr.php.net extremely useful for quickly finding the connections in source code. Greg

« previous php.internals (#30278) next »