No offense, but this is really quite a useless problem report. You are not showing any of the zend API that you use to create the object, so how can we help you?
Hints: make sure that your zvals are correctly initialized (there are some big differences between ALLOC_ZVAL and MAKE_STD_ZVAL). Other things to try are looking at other extensions that create objects. In the 4.3 release, the user-space streams creates objects and call their constructors, so take a look at that code for some hints. If you are returning strings, make sure that any that need to be duplicated are duplicated etc. etc. Using the source is your best option if you don't want (or are not allowed) to show us your source. The zend api docs http://www.php.net/manual/en/zend.php, although not complete, should be good enough for what you need to do. --Wez. On Tue, 11 Feb 2003, Eric Lambart wrote: > Hello all, > I have scoured the php.dev group, reading most of the messages I could > find regarding extensions and modules, but could not find any other > reports of this problem anywhere. I have a feeling there is an obvious > answer. > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php