Re: Extending PHP

From: Date: Thu, 04 Jan 2001 17:26:13 +0000
Subject: Re: Extending PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-32778@lists.php.net to get a copy of this message
> Maybe I didn't come through clearly. I'd like a class that can be > instantiated like this: > > $obj = new MyClass; > > But where MyClass is implemented in c rather than in PHP code. This isn't very hard. A simple example is the built in dir() class. See http://www.php.net/manual/class.dir.php and ext/standard/dir.c in the PHP source tree. Also read README.EXT_SKEL in the php source directory. -Rasmus

« previous php.general (#32778) next »