Lines Matching refs:rval
116 static inline void var_push(php_unserialize_data_t *var_hashx, zval *rval)
120 …tf(stderr, "var_push(" ZEND_LONG_FMT "): %d\n", var_hash?var_hash->used_slots:-1L, Z_TYPE_P(rval));
132 var_hash->data[var_hash->used_slots++] = rval;
135 PHPAPI void var_push_dtor(php_unserialize_data_t *var_hashx, zval *rval)
137 if (Z_REFCOUNTED_P(rval)) {
142 ZVAL_COPY(tmp_var, rval);
146 static zend_never_inline void var_push_dtor_value(php_unserialize_data_t *var_hashx, zval *rval)
148 if (Z_REFCOUNTED_P(rval)) {
153 ZVAL_COPY_VALUE(tmp_var, rval);
463 #define UNSERIALIZE_PARAMETER zval *rval, const unsigned char **p, const unsigned char *max, php_un…
464 #define UNSERIALIZE_PASSTHRU rval, p, max, var_hash
748 object_init_ex(rval, ce);
749 …} else if (ce->unserialize(rval, ce, (const unsigned char*)*p, datalen, (zend_unserialize_data *)v…
776 ZVAL_DEREF(rval);
777 GC_ADD_FLAGS(Z_OBJ_P(rval), IS_OBJ_DESTRUCTOR_CALLED);
784 ZVAL_DEREF(rval);
786 ZVAL_COPY(tmp, rval);
794 has_wakeup = Z_OBJCE_P(rval) != PHP_IC_ENTRY
795 && zend_hash_exists(&Z_OBJCE_P(rval)->function_table, ZSTR_KNOWN(ZEND_STR_WAKEUP));
797 ht = Z_OBJPROP_P(rval);
803 if (!process_nested_object_data(UNSERIALIZE_PASSTHRU, ht, elements, Z_OBJ_P(rval))) {
805 ZVAL_DEREF(rval);
806 GC_ADD_FLAGS(Z_OBJ_P(rval), IS_OBJ_DESTRUCTOR_CALLED);
811 ZVAL_DEREF(rval);
815 ZVAL_COPY(wakeup_var, rval);
865 var_push(var_hash, rval);
883 if (rval_ref == rval || (Z_ISREF_P(rval_ref) && Z_REFVAL_P(rval_ref) == rval)) {
898 ZVAL_COPY(rval, rval_ref);
914 if (rval_ref == rval) {
923 ZVAL_COPY(rval, rval_ref);
930 ZVAL_NULL(rval);
936 ZVAL_FALSE(rval);
942 ZVAL_TRUE(rval);
968 ZVAL_LONG(rval, parse_iv(start + 2));
976 ZVAL_DOUBLE(rval, ZEND_NAN);
978 ZVAL_DOUBLE(rval, ZEND_INFINITY);
980 ZVAL_DOUBLE(rval, -ZEND_INFINITY);
982 ZVAL_NULL(rval);
993 ZVAL_DOUBLE(rval, zend_strtod((const char *)start + 2, NULL));
1027 ZVAL_STR(rval, zend_string_init_existing_interned(str, len, 0));
1029 ZVAL_STRINGL_FAST(rval, str, len);
1064 ZVAL_STR(rval, str);
1079 array_init_size(rval, elements);
1082 zend_hash_real_init_mixed(Z_ARRVAL_P(rval));
1084 ZVAL_EMPTY_ARRAY(rval);
1092 HT_ALLOW_COW_VIOLATION(Z_ARRVAL_P(rval));
1094 if (!process_nested_array_data(UNSERIALIZE_PASSTHRU, Z_ARRVAL_P(rval), elements)) {
1284 php_store_class_name(rval, class_name);
1316 if (object_init_ex(rval, ce) == FAILURE) {
1322 php_store_class_name(rval, class_name);
1399 ZVAL_COPY(rval, value);