更新对象与类的属性
zend_api void zend_update_property_null(zend_class_entry *scope, zval *object, char *name, int name_length tsrmls_dc);
zend_api void zend_update_property_bool(zend_class_entry *scope, zval *object, char *name, int name_length, long value tsrmls_dc);
zend_api void zend_update_property_long(zend_class_entry *scope, zval *object, char *name, int name_length, long value tsrmls_dc);
zend_api void zend_update_property_double(zend_class_entry *scope, zval *object, char *name, int name_length, double value tsrmls_dc);
zend_api void zend_update_property_string(zend_class_entry *scope, zval *object, char *name, int name_length, const char *value tsrmls_dc);
zend_api void zend_update_property_stringl(zend_class_entry *scope, zval *object, char *name, int name_length, const char *value, int value_length tsrmls_dc);
zend_api int zend_update_static_property_null(zend_class_entry *scope, char *name, int name_length tsrmls_dc);
zend_api int zend_update_static_property_bool(zend_class_entry *scope, char *name, int name_length, long value tsrmls_dc);
zend_api int zend_update_static_property_long(zend_class_entry *scope, char *name, int name_length, long value tsrmls_dc);
zend_api int zend_update_static_property_double(zend_class_entry *scope, char *name, int name_length, double value tsrmls_dc);
zend_api int zend_update_static_property_string(zend_class_entry *scope, char *name, int name_length, const char *value tsrmls_dc);
zend_api int zend_update_static_property_stringl(zend_class_entry *scope, char *name, int name_length, const char *value, int value_length tsrmls_dc);
from:http://duanshaozhen.iteye.com/blog/2260071
PHP怎么学习?PHP怎么入门?PHP在哪学?PHP怎么学才快?不用担心,这里为大家提供了PHP速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号