PHP plugin methods for updating object and class properties

Source: Internet
Author: User
Updating properties of objects and classes
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 TSR MLS_DC);
Zend_api void Zend_update_property_long (Zend_class_entry *scope, Zval *object, char *name, int name_length, Long value TSR MLS_DC);
Zend_api void Zend_update_property_double (Zend_class_entry *scope, Zval *object, char *name, int name_length, double valu e 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 T SRMLS_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
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.