Home
last modified time | relevance | path

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

1234567

/PHP-8.2/ext/snmp/
H A Dsnmp.c115 snmpobjarg *vars; member
253 if (snprint_value(buf, buflen, vars->name, vars->name_length, vars) == -1) { in php_snmp_getvalue()
289 ZVAL_STRINGL(&val, (char *)vars->val.string, vars->val_len); in php_snmp_getvalue()
303 (vars->val.string)[0], (vars->val.string)[1], in php_snmp_getvalue()
304 (vars->val.string)[2], (vars->val.string)[3]); in php_snmp_getvalue()
475 for (vars = response->variables; vars; vars = vars->next_variable) { in php_snmp_internal()
484 snprint_value(buf2, sizeof(buf2), vars->name, vars->name_length, vars); in php_snmp_internal()
515 …>vars[count].name_length == vars->name_length && snmp_oid_compare(objid_query->vars[count].name, o… in php_snmp_internal()
556 … memmove((char *)(objid_query->vars[0].name), (char *)vars->name, vars->name_length * sizeof(oid)); in php_snmp_internal()
557 objid_query->vars[0].name_length = vars->name_length; in php_snmp_internal()
[all …]
/PHP-8.2/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.2/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.phpt27 ; (lines=1, args=0, vars=0, tmps=0)
33 ; (lines=2, args=0, vars=1, tmps=1)
40 ; (lines=2, args=0, vars=1, tmps=1)
H A Ddce_009.phpt37 ; (lines=7, args=0, vars=0, tmps=0)
49 ; (lines=3, args=0, vars=0, tmps=0)
59 ; (lines=1, args=0, vars=0, tmps=0)
65 ; (lines=3, args=0, vars=0, tmps=1)
H A Ddce_006.phpt24 ; (lines=1, args=0, vars=0, tmps=0)
30 ; (lines=7, args=1, vars=2, tmps=1)
44 ; (lines=1, args=0, vars=0, tmps=0)
H A Dsccp_022.phpt29 ; (lines=1, args=0, vars=0, tmps=0)
35 ; (lines=11, args=1, vars=2, tmps=1)
51 ; (lines=9, args=0, vars=3, tmps=2)
/PHP-8.2/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' =>
273 'vars' =>
278 'vars' =>
283 'vars' =>
/PHP-8.2/ext/standard/tests/strings/
H A Dbug77439.phpt5 $vars = ['a' => []];
6 parse_str('a[1]=1', $vars);
7 var_dump($vars['a']);
/PHP-8.2/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);
H A Dbug29015.phpt2 Bug #29015 (Incorrect behavior of member vars(non string ones)-numeric mem vars und others)
/PHP-8.2/Zend/Optimizer/
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()
93 const zend_ssa_var *ssa_var = &ssa->vars[var]; in is_defined()
110 (ssa->vars[i].var < op_array->last_var ? ZSTR_VAL(op_array->vars[ssa->vars[i].var]) : "")
124 zend_ssa_var *var = &ssa->vars[i]; in ssa_verify_integrity()
177 phi = zend_ssa_next_use_phi(ssa, var - ssa->vars, phi); in ssa_verify_integrity()
293 if (ssa->vars[ssa_op->op1_def].definition != i) { in ssa_verify_integrity()
306 if (ssa->vars[ssa_op->op2_def].definition != i) { in ssa_verify_integrity()
319 if (ssa->vars[ssa_op->result_def].definition != i) { in ssa_verify_integrity()
341 if (ssa->vars[source].var != ssa->vars[phi->ssa_var].var) { in ssa_verify_integrity()
[all …]
H A Dcompact_vars.c104 names[vars_map[i]] = op_array->vars[i]; in zend_optimizer_compact_vars()
106 zend_string_release_ex(op_array->vars[i], 0); in zend_optimizer_compact_vars()
109 efree(op_array->vars); in zend_optimizer_compact_vars()
110 op_array->vars = names; in zend_optimizer_compact_vars()
113 zend_string_release_ex(op_array->vars[i], 0); in zend_optimizer_compact_vars()
115 efree(op_array->vars); in zend_optimizer_compact_vars()
116 op_array->vars = NULL; in zend_optimizer_compact_vars()
H A Ddfa_pass.c201 if (ssa->vars[j].definition >= 0) { in zend_ssa_remove_nops()
202 ssa->vars[j].definition -= shiftlist[ssa->vars[j].definition]; in zend_ssa_remove_nops()
204 if (ssa->vars[j].use_chain >= 0) { in zend_ssa_remove_nops()
205 ssa->vars[j].use_chain -= shiftlist[ssa->vars[j].use_chain]; in zend_ssa_remove_nops()
1138 op_1 = ssa->vars[v].definition; in zend_dfa_optimize_op_array()
1308 ssa->vars[v].definition = -1; in zend_dfa_optimize_op_array()
1309 ssa->vars[v].use_chain = -1; in zend_dfa_optimize_op_array()
1328 ssa->vars[v].definition = -1; in zend_dfa_optimize_op_array()
1329 ssa->vars[v].use_chain = -1; in zend_dfa_optimize_op_array()
1376 ssa->vars[v].definition = op_2; in zend_dfa_optimize_op_array()
[all …]
H A Ddce.c274 zend_ssa_var *var = &ctx->ssa->vars[var_num]; in add_to_worklists()
287 zend_ssa_var *var = &ctx->ssa->vars[var_num]; in add_to_phi_worklist_no_val()
326 zend_ssa_var *var = &ctx->ssa->vars[var_num]; in is_var_dead()
344 zend_ssa_var *var = &ctx->ssa->vars[free_var]; in try_remove_var_def()
455 opline->op1.var = EX_NUM_TO_VAR(ssa->vars[free_var].var); in dce_instr()
459 ssa_op->op1_use_chain = ssa->vars[free_var].use_chain; in dce_instr()
460 ssa->vars[free_var].use_chain = ssa_op - ssa->ops; in dce_instr()
508 && ssa->vars[ssa_op->op1_def].var < op_array->num_args) { in may_break_varargs()
512 && ssa->vars[ssa_op->op2_def].var < op_array->num_args) { in may_break_varargs()
516 && 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
173 zend_ssa_var *var = &ssa->vars[ssa_op->result_def]; in zend_ssa_remove_result_def()
180 zend_ssa_var *var = &ssa->vars[ssa_op->op1_def]; in zend_ssa_remove_op1_def()
187 zend_ssa_var *var = &ssa->vars[ssa_op->op2_def]; in zend_ssa_remove_op2_def()
246 ssa->vars[ssa_op->op1_def].definition = -1; in zend_ssa_rename_defs_of_instr()
253 ssa->vars[ssa_op->op2_def].definition = -1; in zend_ssa_rename_defs_of_instr()
260 ssa->vars[ssa_op->result_def].definition = -1; in zend_ssa_rename_defs_of_instr()
271 int _var_num = (var) - ssa->vars, next; \
279 int _var_num = (var) - ssa->vars; \
/PHP-8.2/ext/pdo_dblib/
H A Ddblib_driver.c477 struct pdo_data_src_parser vars[] = { in pdo_dblib_handle_factory() local
488 nvars = sizeof(vars)/sizeof(vars[0]); in pdo_dblib_handle_factory()
529 if(vars[5].optval) { in pdo_dblib_handle_factory()
547 if (!dbh->username && vars[6].optval) { in pdo_dblib_handle_factory()
557 if (!dbh->password && vars[7].optval) { in pdo_dblib_handle_factory()
568 if (vars[0].optval) { in pdo_dblib_handle_factory()
573 DBSETLAPP(H->login, vars[1].optval); in pdo_dblib_handle_factory()
577 if (vars[3].optval) { in pdo_dblib_handle_factory()
593 if (vars[3].optval) { in pdo_dblib_handle_factory()
615 if (vars[i].freeme) { in pdo_dblib_handle_factory()
[all …]
/PHP-8.2/ext/opcache/tests/
H A Dbug65845.phpt10 $Pile['vars'][(string)'toto'] = 'tutu';
11 var_dump($Pile['vars']['toto']);
/PHP-8.2/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_MAP_FOREACH_STR_KEY_VAL(&vars, var, data) { in phpdbg_print_symbols()
289 zend_hash_destroy(&vars); in phpdbg_print_symbols()
[all …]
/PHP-8.2/ext/opcache/tests/match/
H A D002.phpt34 ; (lines=5, args=0, vars=0, tmps=0)
44 ; (lines=2, args=0, vars=0, tmps=0)
52 ; (lines=2, args=0, vars=0, tmps=0)
/PHP-8.2/sapi/phpdbg/tests/
H A Dprint_001.phpt16 ; (lines=8, args=1, vars=1, tmps=%d)
29 ; (lines=5, args=1, vars=1, tmps=%d)
38 ; (lines=1, args=0, vars=0, tmps=%d)
45 ; (lines=9, args=0, vars=0, tmps=%d)
/PHP-8.2/ext/intl/tests/
H A Dbug74484_MessageFormatter.phpt9 $vars = array(
24 var_dump(MessageFormatter::formatMessage('en_US', $text, $vars));
/PHP-8.2/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 39 milliseconds

1234567