Hello Andrew, nearly all classes in ext SPL have payload fields. Also SimpleXML, PDO, SQLite, MySqlI, DOM and a bunch of other extensions have.
To add another shameless plug, all my extension writing talks contain an example available in full source code that shows it. If you take the last one, PHP Code Camp, it is slide 62. See http://talks.php.net Sunday, March 5, 2006, 11:29:57 AM, you 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? > Cheers, > Andrew. Best regards, Marcus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php