Reading/Writing properties
| From: | Kevin Ingwersen | Date: | Mon, 30 Sep 2013 19:12:37 +0000 |
| Subject: | Reading/Writing properties | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-11139@lists.php.net to get a copy of this message | ||
Hello there.
I am trying to read/write properties. I have found the read_property function as such:
ZEND_API zval *zend_read_property(zend_class_entry *scope, zval *object, const char *name, int
name_length, zend_bool silent TSRMLS_DC);
But, what is a zend_bool? I trued passing false to it, but i got an error O.o so I think I sort of
missed this a bit.
I am essentially trying to store a resource into an object, and reading it off in another member
function.
Kind regards,
Ingwie