Re: [PHP-DEV] Follow the object constructor chain ... options

2005-10-29 Thread Marcus Boerger
Boerger [mailto:[EMAIL PROTECTED] >> Sent: Saturday, October 29, 2005 3:58 AM >> To: Bob Silva >> Cc: internals@lists.php.net >> Subject: Re: [PHP-DEV] Follow the object constructor chain ... options >> >> Hello Bob, >> >> why so complex and pote

RE: [PHP-DEV] Follow the object constructor chain ... options

2005-10-29 Thread Bob Silva
> Sent: Saturday, October 29, 2005 3:58 AM > To: Bob Silva > Cc: internals@lists.php.net > Subject: Re: [PHP-DEV] Follow the object constructor chain ... options > > Hello Bob, > > why so complex and potential wrong? > > zend_class_entry *ce = Z_OBJ_CE(object); >

Re: [PHP-DEV] Follow the object constructor chain ... options

2005-10-29 Thread Marcus Boerger
on(&fci, &fcc TSRMLS_CC) == FAILURE) { > return; > } > if (retval_ptr) { > zval_ptr_dtor(&retval_ptr); > } > } > } > Forgive me if its crude, but it appears to work. > Bob > -Original Message-

RE: [PHP-DEV] Follow the object constructor chain ... options

2005-10-29 Thread Bob Silva
give me if its crude, but it appears to work. Bob -Original Message- From: Bob Silva [mailto:[EMAIL PROTECTED] Sent: Friday, October 28, 2005 7:35 PM To: internals@lists.php.net Subject: [PHP-DEV] Follow the object constructor chain ... options What would be the suggested method of simula

[PHP-DEV] Follow the object constructor chain ... options

2005-10-28 Thread Bob Silva
What would be the suggested method of simulating parent::__construct in C-level objects? I looked through the source and could find no examples to draw from. Since my base object is the foundation of my extension, its constructor has to be called on each derived object creation. I have a f