ZVAL_OBJVAL(proxy->myself, php_http_property_proxy_object_new_ex(php_http_property_proxy_class_entry, proxy, NULL TSRMLS_CC), 0);
Z_ADDREF_P(object);
proxy->object = object;
- proxy->member = php_http_zsep(IS_STRING, member);
+ proxy->member = php_http_ztyp(IS_STRING, member);
return proxy;
}
zval *old_value, *new_value;
old_value = php_http_property_proxy_object_get(object TSRMLS_CC);
- new_value = php_http_zsep(type, old_value);
+ new_value = php_http_ztyp(type, old_value);
if (old_value != new_value) {
zval_ptr_dtor(&old_value);
retval = *data;
}
} else {
- offset = php_http_zsep(IS_STRING, offset);
+ offset = php_http_ztyp(IS_STRING, offset);
if (SUCCESS == zend_hash_find(Z_ARRVAL_P(property), Z_STRVAL_P(offset), Z_STRLEN_P(offset), (void *) &data)) {
retval = *data;
}
} else if (Z_TYPE_P(offset) == IS_LONG) {
add_index_zval(property, Z_LVAL_P(offset), value);
} else {
- offset = php_http_zsep(IS_STRING, offset);
+ offset = php_http_ztyp(IS_STRING, offset);
add_assoc_zval_ex(property, Z_STRVAL_P(offset), Z_STRLEN_P(offset) + 1, value);
zval_ptr_dtor(&offset);
}