How can i do subj ?

I try make this with follwoing code:

declare prop:

zend_declare_property_null(ns_ce_ ## my_class, "prop", strlen("prop"),
, ZEND_ACC_PROTECTED TSRMLS_CC);


at constructor:

zval *prop;

/* init */
prop =  zend_read_property(Z_OBJCE_P(getThis()), getThis(), "prop",
strlen("prop",), 1 TSRMLS_CC);

array_init(prop);


After building ext (with debug) i get following error:

Fatal error: Internal zval's can't be arrays, objects or resources

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to