Lines Matching refs:val

882 				zval val;  in do_fetch()  local
890 fetch_value(stmt, &val, i++, NULL); in do_fetch()
891 if (Z_TYPE(val) != IS_NULL) { in do_fetch()
892 if (!try_convert_to_string(&val)) { in do_fetch()
895 if ((cep = zend_lookup_class(Z_STR(val))) == NULL) { in do_fetch()
903 zval_ptr_dtor_str(&val); in do_fetch()
987 zval val; in do_fetch() local
988 fetch_value(stmt, &val, i, NULL); in do_fetch()
992 zend_symtable_update(Z_ARRVAL_P(return_value), stmt->columns[i].name, &val); in do_fetch()
1000 if (Z_TYPE(val) == IS_LONG) { in do_fetch()
1001 …_index_update((return_all ? Z_ARRVAL_P(return_all) : Z_ARRVAL_P(return_value)), Z_LVAL(val), &tmp); in do_fetch()
1003 convert_to_string(&val); in do_fetch()
1004 …ymtable_update((return_all ? Z_ARRVAL_P(return_all) : Z_ARRVAL_P(return_value)), Z_STR(val), &tmp); in do_fetch()
1006 zval_ptr_dtor(&val); in do_fetch()
1013 zend_symtable_update(Z_ARRVAL_P(return_value), stmt->columns[i].name, &val); in do_fetch()
1014 if (zend_hash_index_add(Z_ARRVAL_P(return_value), i, &val) != NULL) { in do_fetch()
1015 Z_TRY_ADDREF(val); in do_fetch()
1046 zend_hash_next_index_insert_new(Z_ARRVAL(arr), &val); in do_fetch()
1048 zend_hash_update(Z_ARRVAL_P(return_value), stmt->columns[i].name, &val); in do_fetch()
1054 zend_hash_next_index_insert_new(Z_ARRVAL_P(return_value), &val); in do_fetch()
1061 &val); in do_fetch()
1062 zval_ptr_dtor(&val); in do_fetch()
1069 &val); in do_fetch()
1070 zval_ptr_dtor(&val); in do_fetch()
1073 zval_ptr_dtor(&val); in do_fetch()
1076 …value, ce, (unsigned char *)(Z_TYPE(val) == IS_STRING ? Z_STRVAL(val) : ""), Z_TYPE(val) == IS_STR… in do_fetch()
1077 zval_ptr_dtor(&val); in do_fetch()
1083 zval_ptr_dtor(&val); in do_fetch()
1089 ZVAL_COPY_VALUE(&stmt->fetch.func.values[idx], &val); in do_fetch()
1094 zval_ptr_dtor(&val); in do_fetch()
2438 zval val; in row_prop_exists() local
2440 fetch_value(stmt, &val, colno, NULL); in row_prop_exists()
2441 res = check_empty ? i_zend_is_true(&val) : Z_TYPE(val) != IS_NULL; in row_prop_exists()
2442 zval_ptr_dtor_nogc(&val); in row_prop_exists()
2478 zval val; in row_dim_exists() local
2480 fetch_value(stmt, &val, colno, NULL); in row_dim_exists()
2481 res = check_empty ? i_zend_is_true(&val) : Z_TYPE(val) != IS_NULL; in row_dim_exists()
2482 zval_ptr_dtor_nogc(&val); in row_dim_exists()
2518 zval val; in row_get_properties_for() local
2519 fetch_value(stmt, &val, i, NULL); in row_get_properties_for()
2521 zend_hash_update(props, stmt->columns[i].name, &val); in row_get_properties_for()