summaryrefslogtreecommitdiff
path: root/src/sp_var_value.c
diff options
context:
space:
mode:
authorjvoisin2018-02-06 14:51:15 +0100
committerjvoisin2018-02-06 14:51:15 +0100
commit24276c548e5ac03e167a2ded7f8927ae5466d449 (patch)
tree61070be9b25f80c31d772c31b3200b11c63db7d4 /src/sp_var_value.c
parent37e9db2ec911c2f093ee8a69b245c09d43ab0823 (diff)
Make our API consistent
Diffstat (limited to 'src/sp_var_value.c')
-rw-r--r--src/sp_var_value.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp_var_value.c b/src/sp_var_value.c
index 05598bf..68fd47c 100644
--- a/src/sp_var_value.c
+++ b/src/sp_var_value.c
@@ -100,7 +100,7 @@ static void *get_entry_hashtable(const HashTable *ht, const char *entry,
100 100
101static zval *get_array_value(zend_execute_data *ed, zval *zvalue, 101static zval *get_array_value(zend_execute_data *ed, zval *zvalue,
102 const sp_tree *tree) { 102 const sp_tree *tree) {
103 zval *idx_value = get_value(ed, tree->idx, false); 103 zval *idx_value = sp_get_var_value(ed, tree->idx, false);
104 104
105 if (!zvalue || !idx_value) { 105 if (!zvalue || !idx_value) {
106 return NULL; 106 return NULL;
@@ -177,7 +177,7 @@ static zval *get_unknown_type(const char *restrict value, zval *zvalue,
177 return zvalue; 177 return zvalue;
178} 178}
179 179
180zval *get_value(zend_execute_data *ed, const sp_tree *tree, bool is_param) { 180zval *sp_get_var_value(zend_execute_data *ed, const sp_tree *tree, bool is_param) {
181 zval *zvalue = NULL; 181 zval *zvalue = NULL;
182 zend_class_entry *ce = NULL; 182 zend_class_entry *ce = NULL;
183 183