summaryrefslogtreecommitdiff
path: root/ext/standard/php_var.h
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2014-04-11 12:34:06 +0800
committerXinchen Hui <laruence@gmail.com>2014-04-11 12:34:06 +0800
commit12470b4092cc2626d8e90653269fae042bfeed6a (patch)
treeb809650e44d3f93cb82ee1ddca90021a99662981 /ext/standard/php_var.h
parent27f7f342ee782e6e2f212eed861b2623e4675cb5 (diff)
parent91ed685e26e0f2e6501ac3c7b49199080bfc47f0 (diff)
downloadphp-git-12470b4092cc2626d8e90653269fae042bfeed6a.tar.gz
Merge branch 'refactoring2' of github.com:zendtech/php into refactoring2
Diffstat (limited to 'ext/standard/php_var.h')
-rw-r--r--ext/standard/php_var.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/standard/php_var.h b/ext/standard/php_var.h
index 2472ebf57c..4ecdd09dd7 100644
--- a/ext/standard/php_var.h
+++ b/ext/standard/php_var.h
@@ -51,6 +51,7 @@ typedef struct php_unserialize_data* php_unserialize_data_t;
PHPAPI void php_var_serialize(smart_str *buf, zval *struc, php_serialize_data_t *var_hash TSRMLS_DC);
PHPAPI int php_var_unserialize(zval *rval, const unsigned char **p, const unsigned char *max, php_unserialize_data_t *var_hash TSRMLS_DC);
+PHPAPI int php_var_unserialize_ref(zval *rval, const unsigned char **p, const unsigned char *max, php_unserialize_data_t *var_hash TSRMLS_DC);
PHPAPI int php_var_unserialize_intern(zval *rval, const unsigned char **p, const unsigned char *max, php_unserialize_data_t *var_hash TSRMLS_DC);
#define PHP_VAR_SERIALIZE_INIT(var_hash_ptr) \
@@ -114,6 +115,7 @@ do { \
} \
} while (0)
+PHPAPI void var_replace(php_unserialize_data_t *var_hash, zval *ozval, zval *nzval);
PHPAPI void var_push_dtor(php_unserialize_data_t *var_hash, zval *val);
PHPAPI void var_push_dtor_no_addref(php_unserialize_data_t *var_hashx, zval *rval);
PHPAPI void var_destroy(php_unserialize_data_t *var_hash);