Searched refs:php_ds_pair_ce (Results 1 – 3 of 3) sorted by relevance
/ext-ds/src/php/classes/ |
H A D | php_pair_ce.c | 10 zend_class_entry *php_ds_pair_ce; variable 59 php_ds_pair_ce = zend_register_internal_class(&ce); in php_ds_register_pair() 61 php_ds_pair_ce->ce_flags |= ZEND_ACC_FINAL; in php_ds_register_pair() 62 php_ds_pair_ce->create_object = php_ds_pair_create_object; in php_ds_register_pair() 63 php_ds_pair_ce->serialize = php_ds_pair_serialize; in php_ds_register_pair() 64 php_ds_pair_ce->unserialize = php_ds_pair_unserialize; in php_ds_register_pair() 66 zend_declare_property_null(php_ds_pair_ce, STR_AND_LEN("key"), ZEND_ACC_PUBLIC); in php_ds_register_pair() 67 zend_declare_property_null(php_ds_pair_ce, STR_AND_LEN("value"), ZEND_ACC_PUBLIC); in php_ds_register_pair() 69 zend_class_implements(php_ds_pair_ce, 1, php_json_serializable_ce); in php_ds_register_pair()
|
H A D | php_pair_ce.h | 8 extern zend_class_entry *php_ds_pair_ce;
|
/ext-ds/src/php/objects/ |
H A D | php_pair.c | 21 return (php_ds_pair_t*) php_ds_pair_create_object(php_ds_pair_ce); in php_ds_pair() 45 zend_update_property(php_ds_pair_ce, (zend_object*) pair, STR_AND_LEN("key"), key); in php_ds_pair_set_key() 49 zend_update_property(php_ds_pair_ce, &tmp, STR_AND_LEN("key"), key); in php_ds_pair_set_key() 56 zend_update_property(php_ds_pair_ce, (zend_object*) pair, STR_AND_LEN("value"), value); in php_ds_pair_set_value() 60 zend_update_property(php_ds_pair_ce, &tmp, STR_AND_LEN("value"), value); in php_ds_pair_set_value() 68 return zend_read_property(php_ds_pair_ce, (zend_object*) pair, STR_AND_LEN("key"), false, &rv); in php_ds_pair_get_key() 72 return zend_read_property(php_ds_pair_ce, &tmp, STR_AND_LEN("key"), false, &rv); in php_ds_pair_get_key() 80 … return zend_read_property(php_ds_pair_ce, (zend_object*) pair, STR_AND_LEN("value"), false, &rv); in php_ds_pair_get_value() 84 return zend_read_property(php_ds_pair_ce, &tmp, STR_AND_LEN("value"), false, &rv); in php_ds_pair_get_value()
|
Completed in 10 milliseconds