svn: /pecl/http/branches/DEV_2/ php_http_property_proxy.c

From: Date: Sat, 21 May 2011 15:32:18 +0000
Subject: svn: /pecl/http/branches/DEV_2/ php_http_property_proxy.c
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-15656@lists.php.net to get a copy of this message
mike Sat, 21 May 2011 15:32:18 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=311311 Log: * use the separator where applicable Changed paths: U pecl/http/branches/DEV_2/php_http_property_proxy.c Modified: pecl/http/branches/DEV_2/php_http_property_proxy.c =================================================================== --- pecl/http/branches/DEV_2/php_http_property_proxy.c 2011-05-21 15:31:34 UTC (rev 311310) +++ pecl/http/branches/DEV_2/php_http_property_proxy.c 2011-05-21 15:32:18 UTC (rev 311311) @@ -13,7 +13,7 @@ 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; } @@ -103,7 +103,7 @@ 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); @@ -126,7 +126,7 @@ 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; } @@ -156,7 +156,7 @@ } 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); }

« previous php.pecl.cvs (#15656) next »