Re: Private data in C/C++ generated classes for Php - example?
| From: | Hartmut Holzgraefe | Date: | Sun, 05 Mar 2006 10:44:08 +0000 |
| Subject: | Re: Private data in C/C++ generated classes for Php - example? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-22114@lists.php.net to get a copy of this message | ||
Andrew Mather wrote:
Further to my earlier mail, does anyone have/know of a working example that demonstrates private data held in C/C++ and encapsulated within a Php/Zend object for storage, exposing a Php class, per George Schlossnagle's recommendation/example?(warning: shameless plug ahead as usual) not per Georges example but CodeGen_PECL has support for this it is not docuemted yet but there is an example in its CVS repository that shows how to create a class with payload data which is also used as a testcase: http://cvs.php.net/viewcvs.cgi/pear/CodeGen_PECL/docs/examples/class_payload.xml?view=markup -- Hartmut Holzgraefe, Senior Support Engineer . MySQL AB, www.mysql.com Join me at MySQL's 2006 Users Conference, April 24-27! http://www.mysqluc.com/