Re: [PHP-DEV] zend_get_parameters

2002-03-01 Thread Klaus Reimer
Hi, On Saturday 02 March 2002 00:14, Markus Fischer wrote: > It's supposed to be 'zend_class_entry *', so if you haven't > defined calobject_ce in your code as struct directly I think > you should not use the address operator '&' in front of > calobject_ce. My calobject_ce is dir

Re: [PHP-DEV] zend_get_parameters

2002-03-01 Thread Markus Fischer
How did you define calobject_ce ? It's supposed to be 'zend_class_entry *', so if you haven't defined calobject_ce in your code as struct directly I think you should not use the address operator '&' in front of calobject_ce. On Fri, Mar 01, 2002 at 05:03:32PM +0100, Klaus Rei

[PHP-DEV] zend_get_parameters

2002-03-01 Thread Klaus Reimer
Hi, I have a slight problem with zend_get_parameters(). I want to pass an optional object of a specified class to the constructor of another class. I do this in the constructor: zval *Parent; Parent=NULL; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|O!",&Parent,&calobject_