/php-src/ext/snmp/ |
H A D | snmp.c | 120 snmpobjarg *vars; member 256 if (snprint_value(buf, buflen, vars->name, vars->name_length, vars) == -1) { in php_snmp_getvalue() 292 ZVAL_STRINGL(&val, (char *)vars->val.string, vars->val_len); in php_snmp_getvalue() 306 (vars->val.string)[0], (vars->val.string)[1], in php_snmp_getvalue() 307 (vars->val.string)[2], (vars->val.string)[3]); in php_snmp_getvalue() 478 for (vars = response->variables; vars; vars = vars->next_variable) { in php_snmp_internal() 487 snprint_value(buf2, sizeof(buf2), vars->name, vars->name_length, vars); in php_snmp_internal() 518 …>vars[count].name_length == vars->name_length && snmp_oid_compare(objid_query->vars[count].name, o… in php_snmp_internal() 559 … memcpy((char *)(objid_query->vars[0].name), (char *)vars->name, vars->name_length * sizeof(oid)); in php_snmp_internal() 560 objid_query->vars[0].name_length = vars->name_length; in php_snmp_internal() [all …]
|
/php-src/ext/standard/tests/array/ |
H A D | bug77793.phpt | 7 $vars = ['var' => $str . 'bar']; 8 $var = &$vars['var']; 9 extract($vars); 10 var_dump($vars, $var);
|
/php-src/ext/opcache/tests/opt/ |
H A D | verify_return_type.phpt | 63 ; (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 D | type_inference_class_consts1.phpt | 48 ; (lines=1, args=0, vars=0, tmps=0) 54 ; (lines=1, args=0, vars=0, tmps=0) 60 ; (lines=1, args=0, vars=0, tmps=0) 66 ; (lines=1, args=0, vars=0, tmps=0) 72 ; (lines=3, args=0, vars=0, tmps=1) 82 ; (lines=1, args=0, vars=0, tmps=0) 88 ; (lines=2, args=0, vars=0, tmps=1)
|
H A D | type_inference_class_consts4.phpt | 49 ; (lines=2, args=0, vars=0, tmps=0) 56 ; (lines=3, args=0, vars=0, tmps=1) 66 ; (lines=3, args=0, vars=0, tmps=1) 76 ; (lines=3, args=0, vars=0, tmps=1) 86 ; (lines=3, args=0, vars=0, tmps=1) 96 ; (lines=1, args=0, vars=0, tmps=0) 102 ; (lines=1, args=0, vars=0, tmps=0)
|
H A D | type_inference_class_consts3.phpt | 38 ; (lines=1, args=0, vars=0, tmps=0) 44 ; (lines=1, args=0, vars=0, tmps=0) 50 ; (lines=1, args=0, vars=0, tmps=0) 56 ; (lines=1, args=0, vars=0, tmps=0)
|
H A D | type_inference_class_consts2.phpt | 38 ; (lines=1, args=0, vars=0, tmps=0) 44 ; (lines=1, args=0, vars=0, tmps=0) 50 ; (lines=1, args=0, vars=0, tmps=0) 56 ; (lines=1, args=0, vars=0, tmps=0)
|
H A D | coalesce.phpt | 27 ; (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 D | type_inference_final_class.phpt | 27 ; (lines=1, args=0, vars=0, tmps=0) 33 ; (lines=1, args=0, vars=0, tmps=0) 39 ; (lines=2, args=0, vars=0, tmps=1)
|
H A D | dce_009.phpt | 38 ; (lines=7, args=0, vars=0, tmps=0) 50 ; (lines=3, args=0, vars=0, tmps=0) 60 ; (lines=1, args=0, vars=0, tmps=0) 66 ; (lines=3, args=0, vars=0, tmps=1)
|
H A D | dce_006.phpt | 24 ; (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 D | gh14873.phpt | 59 ; (lines=43, args=0, vars=0, tmps=%d) 107 ; (lines=4, args=1, vars=1, tmps=%d) 116 ; (lines=5, args=1, vars=1, tmps=%d) 126 ; (lines=5, args=1, vars=1, tmps=%d) 136 ; (lines=5, args=1, vars=1, tmps=%d) 146 ; (lines=6, args=1, vars=1, tmps=%d) 159 ; (lines=6, args=1, vars=1, tmps=%d) 172 ; (lines=6, args=1, vars=1, tmps=%d)
|
/php-src/ext/standard/tests/general_functions/ |
H A D | get_defined_vars_basic.phpt | 9 $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 D | var_export_basic6.phpt | 38 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-src/ext/standard/tests/strings/ |
H A D | bug77439.phpt | 5 $vars = ['a' => []]; 6 parse_str('a[1]=1', $vars); 7 var_dump($vars['a']);
|
/php-src/Zend/tests/ |
H A D | bug71336.phpt | 12 $vars = get_object_vars($this); 14 print_r($vars); 20 $vars = get_object_vars($this); 22 print_r($vars);
|
H A D | bug38287.phpt | 2 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-src/Zend/Optimizer/ |
H A D | ssa_integrity.c | 26 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 D | compact_vars.c | 104 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 D | dfa_pass.c | 201 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() 1153 op_1 = ssa->vars[v].definition; in zend_dfa_optimize_op_array() 1323 ssa->vars[v].definition = -1; in zend_dfa_optimize_op_array() 1324 ssa->vars[v].use_chain = -1; in zend_dfa_optimize_op_array() 1343 ssa->vars[v].definition = -1; in zend_dfa_optimize_op_array() 1344 ssa->vars[v].use_chain = -1; in zend_dfa_optimize_op_array() 1391 ssa->vars[v].definition = op_2; in zend_dfa_optimize_op_array() [all …]
|
/php-src/ext/pdo_dblib/ |
H A D | dblib_driver.c | 478 struct pdo_data_src_parser vars[] = { in pdo_dblib_handle_factory() local 489 nvars = sizeof(vars)/sizeof(vars[0]); in pdo_dblib_handle_factory() 530 if(vars[5].optval) { in pdo_dblib_handle_factory() 548 if (!dbh->username && vars[6].optval) { in pdo_dblib_handle_factory() 558 if (!dbh->password && vars[7].optval) { in pdo_dblib_handle_factory() 569 if (vars[0].optval) { in pdo_dblib_handle_factory() 574 DBSETLAPP(H->login, vars[1].optval); in pdo_dblib_handle_factory() 578 if (vars[3].optval) { in pdo_dblib_handle_factory() 594 if (vars[3].optval) { in pdo_dblib_handle_factory() 616 if (vars[i].freeme) { in pdo_dblib_handle_factory() [all …]
|
/php-src/ext/opcache/tests/ |
H A D | preload_optimizer.phpt | 20 ; (lines=1, args=0, vars=0, tmps=%d) 26 ; (lines=1, args=0, vars=0, tmps=%d) 32 ; (lines=1, args=0, vars=0, tmps=%d) 38 ; (lines=2, args=0, vars=0, tmps=%d)
|
H A D | bug65845.phpt | 10 $Pile['vars'][(string)'toto'] = 'tutu'; 11 var_dump($Pile['vars']['toto']);
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_info.c | 177 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-src/ext/opcache/tests/match/ |
H A D | 002.phpt | 34 ; (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)
|