/PHP-8.0/ext/snmp/ |
H A D | snmp.c | 134 snmpobjarg *vars; member 274 if (snprint_value(buf, buflen, vars->name, vars->name_length, vars) == -1) { in php_snmp_getvalue() 310 ZVAL_STRINGL(&val, (char *)vars->val.string, vars->val_len); in php_snmp_getvalue() 324 (vars->val.string)[0], (vars->val.string)[1], in php_snmp_getvalue() 325 (vars->val.string)[2], (vars->val.string)[3]); in php_snmp_getvalue() 501 for (vars = response->variables; vars; vars = vars->next_variable) { in php_snmp_internal() 510 snprint_value(buf2, sizeof(buf2), vars->name, vars->name_length, vars); in php_snmp_internal() 541 …>vars[count].name_length == vars->name_length && snmp_oid_compare(objid_query->vars[count].name, o… in php_snmp_internal() 582 … memmove((char *)(objid_query->vars[0].name), (char *)vars->name, vars->name_length * sizeof(oid)); in php_snmp_internal() 583 objid_query->vars[0].name_length = vars->name_length; in php_snmp_internal() [all …]
|
/PHP-8.0/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-8.0/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' => 279 'vars' => 284 'vars' => 289 'vars' =>
|
/PHP-8.0/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-8.0/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);
|
H A D | bug29015.phpt | 2 Bug #29015 (Incorrect behavior of member vars(non string ones)-numeric mem vars und others)
|
H A D | settype_null.phpt | 16 $vars = array( 32 foreach ($vars as $var) {
|
/PHP-8.0/ext/pdo_dblib/ |
H A D | dblib_driver.c | 452 struct pdo_data_src_parser vars[] = { in pdo_dblib_handle_factory() local 463 nvars = sizeof(vars)/sizeof(vars[0]); in pdo_dblib_handle_factory() 504 if(vars[5].optval) { in pdo_dblib_handle_factory() 522 if (!dbh->username && vars[6].optval) { in pdo_dblib_handle_factory() 532 if (!dbh->password && vars[7].optval) { in pdo_dblib_handle_factory() 543 if (vars[0].optval) { in pdo_dblib_handle_factory() 548 DBSETLAPP(H->login, vars[1].optval); in pdo_dblib_handle_factory() 552 if (vars[3].optval) { in pdo_dblib_handle_factory() 568 if (vars[3].optval) { in pdo_dblib_handle_factory() 590 if (vars[i].freeme) { in pdo_dblib_handle_factory() [all …]
|
/PHP-8.0/ext/opcache/Optimizer/ |
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 | ssa_integrity.c | 27 FOREACH_USE(&ssa->vars[var], use) { in is_in_use_chain() 37 FOREACH_PHI_USE(&ssa->vars[var], phi) { in is_in_phi_use_chain() 105 (i), (ssa->vars[i].var < op_array->last_var ? "CV $" : "TMP"), \ 106 (ssa->vars[i].var < op_array->last_var ? ZSTR_VAL(op_array->vars[ssa->vars[i].var]) : "") 119 zend_ssa_var *var = &ssa->vars[i]; in ssa_verify_integrity() 216 if (VAR_NUM(opline->op1.var) != ssa->vars[ssa_op->op1_use].var) { in ssa_verify_integrity() 251 if (ssa->vars[ssa_op->op1_def].definition != i) { in ssa_verify_integrity() 264 if (ssa->vars[ssa_op->op2_def].definition != i) { in ssa_verify_integrity() 277 if (ssa->vars[ssa_op->result_def].definition != i) { in ssa_verify_integrity() 299 if (ssa->vars[source].var != ssa->vars[phi->ssa_var].var) { in ssa_verify_integrity() [all …]
|
H A D | dfa_pass.c | 216 if (ssa->vars[j].definition >= 0) { in zend_ssa_remove_nops() 217 ssa->vars[j].definition -= shiftlist[ssa->vars[j].definition]; in zend_ssa_remove_nops() 219 if (ssa->vars[j].use_chain >= 0) { in zend_ssa_remove_nops() 220 ssa->vars[j].use_chain -= shiftlist[ssa->vars[j].use_chain]; in zend_ssa_remove_nops() 1090 ssa->vars[cv_var].use_chain = use; in zend_dfa_try_to_replace_result() 1178 op_1 = ssa->vars[v].definition; in zend_dfa_optimize_op_array() 1297 && ssa->vars[v].use_chain >= 0 in zend_dfa_optimize_op_array() 1311 ssa->vars[v].definition = -1; in zend_dfa_optimize_op_array() 1312 ssa->vars[v].use_chain = -1; in zend_dfa_optimize_op_array() 1355 ssa->vars[v].definition = op_2; in zend_dfa_optimize_op_array() [all …]
|
H A D | dce.c | 261 zend_ssa_var *var = &ctx->ssa->vars[var_num]; in add_to_worklists() 274 zend_ssa_var *var = &ctx->ssa->vars[var_num]; in add_to_phi_worklist_no_val() 313 zend_ssa_var *var = &ctx->ssa->vars[var_num]; in is_var_dead() 331 zend_ssa_var *var = &ctx->ssa->vars[free_var]; in try_remove_var_def() 429 opline->op1.var = EX_NUM_TO_VAR(ssa->vars[free_var].var); in dce_instr() 433 ssa_op->op1_use_chain = ssa->vars[free_var].use_chain; in dce_instr() 434 ssa->vars[free_var].use_chain = ssa_op - ssa->ops; in dce_instr() 482 && ssa->vars[ssa_op->op1_def].var < op_array->num_args) { in may_break_varargs() 486 && ssa->vars[ssa_op->op2_def].var < op_array->num_args) { in may_break_varargs() 490 && ssa->vars[ssa_op->result_def].var < op_array->num_args) { in may_break_varargs() [all …]
|
H A D | zend_ssa.h | 142 zend_ssa_var *vars; /* use/def chain of SSA variables */ member 170 zend_ssa_var *var = &ssa->vars[ssa_op->result_def]; in zend_ssa_remove_result_def() 177 zend_ssa_var *var = &ssa->vars[ssa_op->op1_def]; in zend_ssa_remove_op1_def() 184 zend_ssa_var *var = &ssa->vars[ssa_op->op2_def]; in zend_ssa_remove_op2_def() 243 ssa->vars[ssa_op->op1_def].definition = -1; in zend_ssa_rename_defs_of_instr() 250 ssa->vars[ssa_op->op2_def].definition = -1; in zend_ssa_rename_defs_of_instr() 257 ssa->vars[ssa_op->result_def].definition = -1; in zend_ssa_rename_defs_of_instr() 268 int _var_num = (var) - ssa->vars, next; \ 276 int _var_num = (var) - ssa->vars; \
|
/PHP-8.0/ext/opcache/tests/opt/ |
H A D | coalesce.phpt | 26 ; (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 D | dce_006.phpt | 23 ; (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 D | sccp_001.phpt | 22 ; (lines=1, args=0, vars=0, tmps=0) 28 ; (lines=1, args=0, vars=0, tmps=0)
|
H A D | sccp_022.phpt | 28 ; (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)
|
H A D | sccp_019.phpt | 22 ; (lines=1, args=0, vars=0, tmps=0) 28 ; (lines=2, args=1, vars=1, tmps=0)
|
/PHP-8.0/ext/opcache/tests/ |
H A D | bug65845.phpt | 10 $Pile['vars'][(string)'toto'] = 'tutu'; 11 var_dump($Pile['vars']['toto']);
|
/PHP-8.0/ext/opcache/tests/match/ |
H A D | 002.phpt | 33 ; (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.0/sapi/phpdbg/ |
H A D | phpdbg_info.c | 38 …PHPDBG_INFO_COMMAND_D(vars, "show active variables", 'v', info_vars, NULL, 0, PH… 175 HashTable vars; in phpdbg_print_symbols() local 194 zend_hash_init(&vars, 8, NULL, NULL, 0); in phpdbg_print_symbols() 199 zend_hash_update(&vars, var, data); in phpdbg_print_symbols() 207 …_notice("variableinfo", "num=\"%d\"", "Superglobal variables (%d)", zend_hash_num_elements(&vars)); in phpdbg_print_symbols() 219 …"%s\" num=\"%d\"", "Variables in %s (%d)", ZSTR_VAL(ops->filename), zend_hash_num_elements(&vars)); in phpdbg_print_symbols() 221 …iableinfo", "opline=\"%p\" num=\"%d\"", "Variables @ %p (%d)", ops, zend_hash_num_elements(&vars)); in phpdbg_print_symbols() 226 if (zend_hash_num_elements(&vars)) { in phpdbg_print_symbols() 228 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.0/ext/pdo_mysql/ |
H A D | mysql_driver.c | 834 if (vars[0].optval && mysql_options(H->server, MYSQL_SET_CHARSET_NAME, vars[0].optval)) { 839 dbname = vars[1].optval; 840 host = vars[2].optval; 841 if(vars[3].optval) { 842 port = atoi(vars[3].optval); 846 if (vars[2].optval && !strcmp(".", vars[2].optval)) { 848 if (vars[2].optval && !strcmp("localhost", vars[2].optval)) { 850 unix_socket = vars[4].optval; 893 for (i = 0; i < sizeof(vars)/sizeof(vars[0]); i++) { 894 if (vars[i].freeme) { [all …]
|
/PHP-8.0/ext/intl/tests/ |
H A D | bug74484_MessageFormatter.phpt | 12 $vars = array( 27 var_dump(MessageFormatter::formatMessage('en_US', $text, $vars));
|