Home
last modified time | relevance | path

Searched refs:vars (Results 1 – 25 of 154) sorted by relevance

1234567

/PHP-8.1/ext/snmp/
H A Dsnmp.c135 snmpobjarg *vars; member
273 if (snprint_value(buf, buflen, vars->name, vars->name_length, vars) == -1) { in php_snmp_getvalue()
309 ZVAL_STRINGL(&val, (char *)vars->val.string, vars->val_len); in php_snmp_getvalue()
323 (vars->val.string)[0], (vars->val.string)[1], in php_snmp_getvalue()
324 (vars->val.string)[2], (vars->val.string)[3]); in php_snmp_getvalue()
495 for (vars = response->variables; vars; vars = vars->next_variable) { in php_snmp_internal()
504 snprint_value(buf2, sizeof(buf2), vars->name, vars->name_length, vars); in php_snmp_internal()
535 …>vars[count].name_length == vars->name_length && snmp_oid_compare(objid_query->vars[count].name, o… in php_snmp_internal()
576 … memmove((char *)(objid_query->vars[0].name), (char *)vars->name, vars->name_length * sizeof(oid)); in php_snmp_internal()
577 objid_query->vars[0].name_length = vars->name_length; in php_snmp_internal()
[all …]
/PHP-8.1/ext/standard/tests/array/
H A Dbug77793.phpt7 $vars = ['var' => $str . 'bar'];
8 $var = &$vars['var'];
9 extract($vars);
10 var_dump($vars, $var);
/PHP-8.1/ext/opcache/tests/opt/
H A Dverify_return_type.phpt63 ; (lines=1, args=0, vars=0, tmps=0)
69 ; (lines=3, args=0, vars=0, tmps=1)
79 ; (lines=3, args=0, vars=0, tmps=1)
89 ; (lines=2, args=1, vars=1, tmps=0)
96 ; (lines=3, args=0, vars=0, tmps=1)
104 ; (lines=1, args=0, vars=0, tmps=0)
110 ; (lines=3, args=0, vars=0, tmps=1)
118 ; (lines=2, args=1, vars=1, tmps=0)
125 ; (lines=6, args=1, vars=1, tmps=1)
136 ; (lines=1, args=0, vars=0, tmps=0)
[all …]
H A Dcoalesce.phpt26 ; (lines=1, args=0, vars=0, tmps=0)
32 ; (lines=2, args=0, vars=1, tmps=1)
39 ; (lines=2, args=0, vars=1, tmps=1)
H A Ddce_009.phpt36 ; (lines=7, args=0, vars=0, tmps=0)
48 ; (lines=3, args=0, vars=0, tmps=0)
58 ; (lines=1, args=0, vars=0, tmps=0)
64 ; (lines=3, args=0, vars=0, tmps=1)
H A Ddce_006.phpt23 ; (lines=1, args=0, vars=0, tmps=0)
29 ; (lines=7, args=1, vars=2, tmps=1)
43 ; (lines=1, args=0, vars=0, tmps=0)
H A Dsccp_001.phpt22 ; (lines=1, args=0, vars=0, tmps=0)
28 ; (lines=1, args=0, vars=0, tmps=0)
H A Dsccp_022.phpt28 ; (lines=1, args=0, vars=0, tmps=0)
34 ; (lines=11, args=1, vars=2, tmps=1)
50 ; (lines=9, args=0, vars=3, tmps=2)
/PHP-8.1/ext/standard/tests/general_functions/
H A Dget_defined_vars_basic.phpt9 $vars = get_defined_vars();
11 if (count($vars) != 0) {
27 $vars= get_defined_vars();
29 if (count($vars) != 0) {
50 $vars = get_defined_vars();
52 if (count($vars) == 0) {
70 ["vars"]=>
98 ["vars"]=>
120 ["vars"]=>
H A Dvar_export_basic6.phpt38 private $vars = array ();
41 $this->vars[$name] = $val;
45 var_export ( $vars );
132 'vars' =>
137 'vars' =>
142 'vars' =>
279 'vars' =>
284 'vars' =>
289 'vars' =>
/PHP-8.1/ext/standard/tests/strings/
H A Dbug77439.phpt5 $vars = ['a' => []];
6 parse_str('a[1]=1', $vars);
7 var_dump($vars['a']);
/PHP-8.1/Zend/tests/
H A Dbug71336.phpt12 $vars = get_object_vars($this);
14 print_r($vars);
20 $vars = get_object_vars($this);
22 print_r($vars);
H A Dbug38287.phpt2 Bug #38287 (static variables mess up global vars)
29 self::get_object()->vars[]=1;
30 self::get_object()->vars[]=2;
31 self::get_object()->vars[]=3;
32 var_dump(self::get_object()->vars);
/PHP-8.1/ext/pdo_dblib/
H A Ddblib_driver.c471 struct pdo_data_src_parser vars[] = { in pdo_dblib_handle_factory() local
482 nvars = sizeof(vars)/sizeof(vars[0]); in pdo_dblib_handle_factory()
523 if(vars[5].optval) { in pdo_dblib_handle_factory()
541 if (!dbh->username && vars[6].optval) { in pdo_dblib_handle_factory()
551 if (!dbh->password && vars[7].optval) { in pdo_dblib_handle_factory()
562 if (vars[0].optval) { in pdo_dblib_handle_factory()
567 DBSETLAPP(H->login, vars[1].optval); in pdo_dblib_handle_factory()
571 if (vars[3].optval) { in pdo_dblib_handle_factory()
587 if (vars[3].optval) { in pdo_dblib_handle_factory()
609 if (vars[i].freeme) { in pdo_dblib_handle_factory()
[all …]
/PHP-8.1/Zend/Optimizer/
H A Dcompact_vars.c103 names[vars_map[i]] = op_array->vars[i]; in zend_optimizer_compact_vars()
105 zend_string_release_ex(op_array->vars[i], 0); in zend_optimizer_compact_vars()
108 efree(op_array->vars); in zend_optimizer_compact_vars()
109 op_array->vars = names; in zend_optimizer_compact_vars()
112 zend_string_release_ex(op_array->vars[i], 0); in zend_optimizer_compact_vars()
114 efree(op_array->vars); in zend_optimizer_compact_vars()
115 op_array->vars = NULL; in zend_optimizer_compact_vars()
H A Dssa_integrity.c26 FOREACH_USE(&ssa->vars[var], use) { in is_in_use_chain()
36 FOREACH_PHI_USE(&ssa->vars[var], phi) { in is_in_phi_use_chain()
104 (i), (ssa->vars[i].var < op_array->last_var ? "CV $" : "TMP"), \
105 (ssa->vars[i].var < op_array->last_var ? ZSTR_VAL(op_array->vars[ssa->vars[i].var]) : "")
118 zend_ssa_var *var = &ssa->vars[i]; in ssa_verify_integrity()
215 if (VAR_NUM(opline->op1.var) != ssa->vars[ssa_op->op1_use].var) { in ssa_verify_integrity()
250 if (ssa->vars[ssa_op->op1_def].definition != i) { in ssa_verify_integrity()
263 if (ssa->vars[ssa_op->op2_def].definition != i) { in ssa_verify_integrity()
276 if (ssa->vars[ssa_op->result_def].definition != i) { in ssa_verify_integrity()
298 if (ssa->vars[source].var != ssa->vars[phi->ssa_var].var) { in ssa_verify_integrity()
[all …]
H A Ddfa_pass.c215 if (ssa->vars[j].definition >= 0) { in zend_ssa_remove_nops()
216 ssa->vars[j].definition -= shiftlist[ssa->vars[j].definition]; in zend_ssa_remove_nops()
218 if (ssa->vars[j].use_chain >= 0) { in zend_ssa_remove_nops()
219 ssa->vars[j].use_chain -= shiftlist[ssa->vars[j].use_chain]; in zend_ssa_remove_nops()
1112 ssa->vars[cv_var].use_chain = use; in zend_dfa_try_to_replace_result()
1119 ssa->vars[cv_var].use_chain = use; in zend_dfa_try_to_replace_result()
1200 op_1 = ssa->vars[v].definition; in zend_dfa_optimize_op_array()
1369 ssa->vars[v].definition = -1; in zend_dfa_optimize_op_array()
1370 ssa->vars[v].use_chain = -1; in zend_dfa_optimize_op_array()
1414 ssa->vars[v].definition = op_2; in zend_dfa_optimize_op_array()
[all …]
H A Ddce.c275 zend_ssa_var *var = &ctx->ssa->vars[var_num]; in add_to_worklists()
288 zend_ssa_var *var = &ctx->ssa->vars[var_num]; in add_to_phi_worklist_no_val()
327 zend_ssa_var *var = &ctx->ssa->vars[var_num]; in is_var_dead()
345 zend_ssa_var *var = &ctx->ssa->vars[free_var]; in try_remove_var_def()
456 opline->op1.var = EX_NUM_TO_VAR(ssa->vars[free_var].var); in dce_instr()
460 ssa_op->op1_use_chain = ssa->vars[free_var].use_chain; in dce_instr()
461 ssa->vars[free_var].use_chain = ssa_op - ssa->ops; in dce_instr()
509 && ssa->vars[ssa_op->op1_def].var < op_array->num_args) { in may_break_varargs()
513 && ssa->vars[ssa_op->op2_def].var < op_array->num_args) { in may_break_varargs()
517 && ssa->vars[ssa_op->result_def].var < op_array->num_args) { in may_break_varargs()
[all …]
H A Dzend_ssa.h142 zend_ssa_var *vars; /* use/def chain of SSA variables */ member
172 zend_ssa_var *var = &ssa->vars[ssa_op->result_def]; in zend_ssa_remove_result_def()
179 zend_ssa_var *var = &ssa->vars[ssa_op->op1_def]; in zend_ssa_remove_op1_def()
186 zend_ssa_var *var = &ssa->vars[ssa_op->op2_def]; in zend_ssa_remove_op2_def()
245 ssa->vars[ssa_op->op1_def].definition = -1; in zend_ssa_rename_defs_of_instr()
252 ssa->vars[ssa_op->op2_def].definition = -1; in zend_ssa_rename_defs_of_instr()
259 ssa->vars[ssa_op->result_def].definition = -1; in zend_ssa_rename_defs_of_instr()
270 int _var_num = (var) - ssa->vars, next; \
278 int _var_num = (var) - ssa->vars; \
/PHP-8.1/ext/opcache/tests/
H A Dbug65845.phpt10 $Pile['vars'][(string)'toto'] = 'tutu';
11 var_dump($Pile['vars']['toto']);
/PHP-8.1/sapi/phpdbg/
H A Dphpdbg_info.c177 HashTable vars; in phpdbg_print_symbols() local
196 zend_hash_init(&vars, 8, NULL, NULL, 0); in phpdbg_print_symbols()
201 zend_hash_update(&vars, var, data); in phpdbg_print_symbols()
209 phpdbg_notice("Superglobal variables (%d)", zend_hash_num_elements(&vars)); in phpdbg_print_symbols()
217 …pdbg_notice("Variables in %s() (%d)", ZSTR_VAL(ops->function_name), zend_hash_num_elements(&vars)); in phpdbg_print_symbols()
221 phpdbg_notice("Variables in %s (%d)", ZSTR_VAL(ops->filename), zend_hash_num_elements(&vars)); in phpdbg_print_symbols()
223 phpdbg_notice("Variables @ %p (%d)", ops, zend_hash_num_elements(&vars)); in phpdbg_print_symbols()
228 if (zend_hash_num_elements(&vars)) { in phpdbg_print_symbols()
230 ZEND_HASH_FOREACH_STR_KEY_VAL(&vars, var, data) { in phpdbg_print_symbols()
289 zend_hash_destroy(&vars); in phpdbg_print_symbols()
[all …]
/PHP-8.1/ext/opcache/tests/match/
H A D002.phpt33 ; (lines=5, args=0, vars=0, tmps=0)
43 ; (lines=2, args=0, vars=0, tmps=0)
51 ; (lines=2, args=0, vars=0, tmps=0)
/PHP-8.1/sapi/phpdbg/tests/
H A Dprint_001.phpt16 ; (lines=8, args=1, vars=1, tmps=2)
29 ; (lines=5, args=1, vars=1, tmps=1)
38 ; (lines=1, args=0, vars=0, tmps=0)
45 ; (lines=9, args=0, vars=0, tmps=4)
/PHP-8.1/ext/intl/tests/
H A Dbug74484_MessageFormatter.phpt9 $vars = array(
24 var_dump(MessageFormatter::formatMessage('en_US', $text, $vars));
/PHP-8.1/ext/pdo_mysql/
H A Dmysql_driver.c913 if (vars[0].optval && mysql_options(H->server, MYSQL_SET_CHARSET_NAME, vars[0].optval)) {
918 dbname = vars[1].optval;
919 host = vars[2].optval;
920 if(vars[3].optval) {
921 port = atoi(vars[3].optval);
925 if (vars[2].optval && !strcmp(".", vars[2].optval)) {
927 if (vars[2].optval && !strcmp("localhost", vars[2].optval)) {
929 unix_socket = vars[4].optval;
972 for (i = 0; i < sizeof(vars)/sizeof(vars[0]); i++) {
973 if (vars[i].freeme) {
[all …]

Completed in 56 milliseconds

1234567