Re: Creating a new PHP Object in C??
| From: | Unknown Sender | Date: | Tue, 21 Jun 2005 15:11:21 +0000 |
| Subject: | Re: Creating a new PHP Object in C?? | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-2482@lists.php.net to get a copy of this message | ||
hi Markus,
look at spl extension and spl_instantiate particularly. it's a great
demonstration of object in zend.
fred
----- Original Message -----
From: "Markus Duft" <markus.duft@chello.at>
To: <pecl-dev@lists.php.net>
Sent: Tuesday, June 21, 2005 1:49 PM
Subject: [PECL-DEV] Creating a new PHP Object in C??
Hi There!
Can anybody help me with creating a new PHP Object in my Extension code?? I
have some kind of callback mechanism, and want to return an Event Object. my
Class Entry is pce_xEvent. i played around with it a little, but it doesn't
seem to work (no errors, no crashes, no object ;o( )
Just a little code snippet would be great ;o)
Thanks in advance, Markus