Searched refs:vars (Results 1 - 25 of 29) sorted by relevance

12

/PHP_TRUNK/scripts/dev/
H A Dcheck_parameters.php112 /** parses the sources and fetches its vars name, type and if they are initialized or not */
123 // are there more vars?
166 function get_params($vars, $str)
179 if (empty($vars[$name][0])) {
184 $ret[] = array($name, $vars[$name][0] . ($x[1] ? '*' : ''), $vars[$name][1]);
211 $vars = get_vars(substr($txt, 0, $m[0][1])); // limit var search to current location variable
212 $params = get_params($vars, $m[2][0]);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_opcode.h27 char *phpdbg_decode_opline(zend_op_array *ops, zend_op *op, HashTable *vars TSRMLS_DC);
29 void phpdbg_print_opline_ex(zend_execute_data *execute_data, HashTable *vars, zend_bool ignore_flags TSRMLS_DC);
H A Dphpdbg_info.c39 PHPDBG_INFO_COMMAND_D(vars, "show active variables", 'v', info_vars, NULL, 0),
89 PHPDBG_INFO(vars) /* {{{ */
91 HashTable vars; local
110 zend_hash_init(&vars, 8, NULL, NULL, 0);
118 &vars, var, strlen(var)+1, (void**)data, sizeof(zval*), NULL);
129 "Variables in %s::%s() (%d)", ops->scope->name, ops->function_name, zend_hash_num_elements(&vars));
132 "Variables in %s() (%d)", ops->function_name, zend_hash_num_elements(&vars));
137 "Variables in %s (%d)", ops->filename, zend_hash_num_elements(&vars));
140 "Variables @ %p (%d)", ops, zend_hash_num_elements(&vars));
145 if (zend_hash_num_elements(&vars)) {
[all...]
H A Dphpdbg_info.h33 PHPDBG_INFO(vars); variable
H A Dphpdbg_opcode.c43 static inline char *phpdbg_decode_op(zend_op_array *ops, znode_op *op, zend_uint type, HashTable *vars TSRMLS_DC) /* {{{ */
49 asprintf(&decode, "$%s", ops->vars[op->var].name);
55 if (vars != NULL) {
56 if (zend_hash_index_find(vars, (zend_ulong) ops->vars - op->var, (void**) &pid) != SUCCESS) {
57 id = zend_hash_num_elements(vars);
59 vars, (zend_ulong) ops->vars - op->var,
78 char *phpdbg_decode_opline(zend_op_array *ops, zend_op *op, HashTable *vars TSRMLS_DC) /*{{{ */
94 decode[1] = phpdbg_decode_op(ops, &op->op1, op->op1_type, vars TSRMLS_C
143 phpdbg_print_opline_ex(zend_execute_data *execute_data, HashTable *vars, zend_bool ignore_flags TSRMLS_DC) argument
[all...]
H A Dphpdbg_print.c58 HashTable vars; local
79 zend_hash_init(&vars, op_array->last, NULL, NULL, 0);
81 char *decode = phpdbg_decode_opline(op_array, opline, &vars TSRMLS_CC);
94 zend_hash_destroy(&vars);
H A Dphpdbg_prompt.c1159 HashTable vars; local
1174 zend_hash_init(&vars, EG(active_op_array)->last, NULL, NULL, 0);
1179 zend_hash_init(&vars, EG(active_op_array)->last, NULL, NULL, 0);
1275 execute_data, &vars, 0 TSRMLS_CC);
1317 zend_hash_destroy(&vars);
1323 zend_hash_destroy(&vars);
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_fe.c48 ZEND_ARG_VARIADIC_INFO(1, vars)
54 ZEND_ARG_VARIADIC_INFO(1, vars)
58 ZEND_ARG_VARIADIC_INFO(1, vars)
63 ZEND_ARG_VARIADIC_INFO(1, vars)
67 ZEND_ARG_VARIADIC_INFO(1, vars)
H A Dphp_mysqli_structs.h110 zval *vars; member in struct:__anon95
H A Dmysqli_api.c250 stmt->param.vars = safe_emalloc(num_vars, sizeof(zval), 0);
253 ZVAL_COPY(&stmt->param.vars[i], &args[i+start]);
255 ZVAL_UNDEF(&stmt->param.vars[i]);
547 stmt->result.vars = safe_emalloc((var_cnt), sizeof(zval), 0);
550 ZVAL_COPY(&stmt->result.vars[ofs], &args[i]);
888 if (!Z_ISREF(stmt->param.vars[i])) {
893 if (Z_TYPE(stmt->param.vars[j]) == Z_TYPE(stmt->param.vars[i]) &&
894 Z_REFVAL(stmt->param.vars[j]) == Z_REFVAL(stmt->param.vars[
[all...]
H A Dmysqli.c130 zval_ptr_dtor(&bbuf.vars[i]);
133 if (bbuf.vars) {
134 efree(bbuf.vars);
/PHP_TRUNK/sapi/continuity/
H A Dcapi.c241 value = lstFset_get(rc->t->vars, "uri");
248 value = lstFset_get(rc->t->vars, "ccode");
253 value = lstFset_get(rc->t->vars, "query");
273 value = lstFset_get(rc->t->vars, "protocol");
278 value = lstFset_get(rc->t->vars, "method");
283 value = lstFset_get(rc->t->vars, "query");
288 value = lstFset_get(rc->t->vars, "docroot");
334 value = lstFset_get(rc->t->vars, "path");
413 char *query_string = lstFset_get(NSG(t->vars), "query");
414 char *uri = lstFset_get(NSG(t->vars), "ur
[all...]
/PHP_TRUNK/Zend/
H A Dzend_compile.h262 zend_string **vars; member in struct:_zend_op_array
H A Dzend_opcode.c69 op_array->vars = NULL;
341 if (op_array->vars) {
345 STR_RELEASE(op_array->vars[i]);
347 efree(op_array->vars);
704 op_array->vars = (zend_string**) erealloc(op_array->vars, sizeof(zend_string*)*op_array->last_var);
H A Dzend_execute_API.c1618 ex->func->op_array.vars[i], &zv);
1633 zval *zv = zend_hash_find(ht, op_array->vars[i]);
1648 zv = zend_hash_update(ht, op_array->vars[i], EX_VAR_NUM(i));
1664 zend_hash_del(ht, op_array->vars[i]);
1666 zend_hash_update(ht, op_array->vars[i], EX_VAR_NUM(i));
1688 if (op_array->vars[i]->h == h &&
1689 op_array->vars[i]->len == name->len &&
1690 memcmp(op_array->vars[i]->val, name->val, name->len) == 0) {
1724 if (op_array->vars[i]->h == h &&
1725 op_array->vars[
[all...]
H A Dzend_compile.c306 if (op_array->vars[i]->val == name->val ||
307 (op_array->vars[i]->h == hash_value &&
308 op_array->vars[i]->len == name->len &&
309 memcmp(op_array->vars[i]->val, name->val, name->len) == 0)) {
319 op_array->vars = erealloc(op_array->vars, CG(context).vars_size * sizeof(zend_string*));
322 op_array->vars[i] = zend_new_interned_string(name TSRMLS_CC);
666 Z_STR(varname->u.constant) = CG(active_op_array)->vars[EX_VAR_TO_NUM(result->u.op.var)];
730 LITERAL_STR(opline.op1, STR_COPY(CG(active_op_array)->vars[EX_VAR_TO_NUM(result->u.op.var)]));
754 LITERAL_STR(opline.op1, STR_COPY(CG(active_op_array)->vars[EX_VAR_TO_NU
[all...]
/PHP_TRUNK/ext/pdo_dblib/
H A Ddblib_driver.c293 struct pdo_data_src_parser vars[] = { local
302 nvars = sizeof(vars)/sizeof(vars[0]);
304 php_pdo_parse_data_source(dbh->data_source, dbh->data_source_len, vars, nvars);
317 if(vars[5].optval) {
319 if(strcmp(vars[5].optval,tdsver[i].key) == 0) {
329 printf("Invalid version '%s'\n", vars[5].optval);
348 if (vars[0].optval) {
349 DBSETLCHARSET(H->login, vars[0].optval);
353 DBSETLAPP(H->login, vars[
[all...]
/PHP_TRUNK/ext/pdo_firebird/
H A Dfirebird_driver.c646 struct pdo_data_src_parser vars[] = { local
656 php_pdo_parse_data_source(dbh->data_source, dbh->data_source_len, vars, 3);
661 char const *dpb_values[] = { dbh->username, dbh->password, vars[1].optval, vars[2].optval };
677 if (isc_attach_database(H->isc_status, 0, vars[0].optval, &H->db,(short)(dpb-dpb_buffer), dpb_buffer)) {
689 for (i = 0; i < sizeof(vars)/sizeof(vars[0]); ++i) {
690 if (vars[i].freeme) {
691 efree(vars[i].optval);
/PHP_TRUNK/ext/snmp/
H A Dsnmp.c384 snmpobjarg *vars; member in struct:objid_query
550 static void php_snmp_getvalue(struct variable_list *vars, zval *snmpval TSRMLS_DC, int valueretrieval) argument
557 int val_len = vars->val_len;
566 if (snprint_value(buf, buflen, vars->name, vars->name_length, vars) == -1) {
605 switch (vars->type) {
607 ZVAL_STRINGL(&val, (char *)vars->val.bitstring, vars->val_len);
612 ZVAL_STRINGL(&val, (char *)vars
707 struct variable_list *vars; local
[all...]
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.c364 ZEND_ARG_VARIADIC_INFO(0, vars)
377 ZEND_ARG_VARIADIC_INFO(0, vars)
1109 ZEND_ARG_VARIADIC_INFO(1, vars)
2421 ZEND_ARG_VARIADIC_INFO(1, vars)
2627 ZEND_ARG_VARIADIC_INFO(0, vars)
2631 ZEND_ARG_VARIADIC_INFO(0, vars)
/PHP_TRUNK/main/
H A Dphp_variables.c291 static inline int add_post_vars(zval *arr, post_var_data_t *vars, zend_bool eof TSRMLS_DC) argument
295 vars->ptr = vars->str.s->val;
296 vars->end = vars->str.s->val + vars->str.s->len;
297 while (add_post_var(arr, vars, eof TSRMLS_CC)) {
298 if (++vars->cnt > max_vars) {
308 memmove(vars->str.s->val, vars
[all...]
/PHP_TRUNK/sapi/nsapi/
H A Dnsapi.c698 value = pblock_findval(nsapi_vars[i].nsapi_eq, rc->rq->vars);
982 path_translated = pblock_findval("path", rq->vars);
983 path_info = pblock_findval("path-info", rq->vars);
/PHP_TRUNK/ext/opcache/Optimizer/
H A Dzend_optimizer.c67 if (op_array->vars[i] == name ||
68 (op_array->vars[i]->h == hash_value &&
69 op_array->vars[i]->len == name->len &&
70 memcmp(op_array->vars[i]->val, name->val, name->len) == 0)) {
77 op_array->vars = erealloc(op_array->vars, op_array->last_var * sizeof(zend_string*));
78 op_array->vars[i] = STR_DUP(name, 0);
/PHP_TRUNK/ext/opcache/
H A Dzend_persist.c446 if (op_array->vars) {
448 persist_ptr = zend_shared_alloc_get_xlat_entry(op_array->vars);
450 op_array->vars = (zend_string**)persist_ptr;
453 zend_accel_store(op_array->vars, sizeof(zend_string*) * op_array->last_var);
455 zend_accel_store_interned_string(op_array->vars[i]);
H A Dzend_persist_calc.c225 if (op_array->vars) {
228 ADD_DUP_SIZE(op_array->vars, sizeof(zend_string*) * op_array->last_var);
230 ADD_INTERNED_STRING(op_array->vars[i], 0);

Completed in 76 milliseconds

12