/PHP-7.4/ext/snmp/ |
H A D | snmp.c | 542 if (snprint_value(buf, buflen, vars->name, vars->name_length, vars) == -1) { in php_snmp_getvalue() 578 ZVAL_STRINGL(&val, (char *)vars->val.string, vars->val_len); in php_snmp_getvalue() 592 (vars->val.string)[0], (vars->val.string)[1], in php_snmp_getvalue() 593 (vars->val.string)[2], (vars->val.string)[3]); in php_snmp_getvalue() 768 for (vars = response->variables; vars; vars = vars->next_variable) { in php_snmp_internal() 777 snprint_value(buf2, sizeof(buf2), vars->name, vars->name_length, vars); in php_snmp_internal() 808 …>vars[count].name_length == vars->name_length && snmp_oid_compare(objid_query->vars[count].name, o… in php_snmp_internal() 849 … memmove((char *)(objid_query->vars[0].name), (char *)vars->name, vars->name_length * sizeof(oid)); in php_snmp_internal() 850 objid_query->vars[0].name_length = vars->name_length; in php_snmp_internal() 868 vars = vars->next_variable, count++); in php_snmp_internal() [all …]
|
/PHP-7.4/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-7.4/ext/standard/tests/general_functions/ |
H A D | get_defined_vars_basic.phpt | 15 $vars = get_defined_vars(); 17 if (count($vars) != 0) { 33 $vars= get_defined_vars(); 35 if (count($vars) != 0) { 56 $vars = get_defined_vars(); 58 if (count($vars) == 0) { 77 ["vars"]=> 105 ["vars"]=> 127 ["vars"]=>
|
H A D | var_export_basic6.phpt | 44 private $vars = array (); 47 $this->vars[$name] = $val; 51 var_export ( $vars ); 139 'vars' => 144 'vars' => 149 'vars' => 286 'vars' => 291 'vars' => 296 'vars' =>
|
/PHP-7.4/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-7.4/ext/pdo_dblib/ |
H A D | dblib_driver.c | 454 struct pdo_data_src_parser vars[] = { in pdo_dblib_handle_factory() local 465 nvars = sizeof(vars)/sizeof(vars[0]); in pdo_dblib_handle_factory() 506 if(vars[5].optval) { in pdo_dblib_handle_factory() 524 if (!dbh->username && vars[6].optval) { in pdo_dblib_handle_factory() 534 if (!dbh->password && vars[7].optval) { in pdo_dblib_handle_factory() 545 if (vars[0].optval) { in pdo_dblib_handle_factory() 550 DBSETLAPP(H->login, vars[1].optval); in pdo_dblib_handle_factory() 554 if (vars[3].optval) { in pdo_dblib_handle_factory() 570 if (vars[3].optval) { in pdo_dblib_handle_factory() 592 if (vars[i].freeme) { in pdo_dblib_handle_factory() [all …]
|
/PHP-7.4/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 | zend_ssa.h | 139 zend_ssa_var *vars; /* use/def chain of SSA variables */ member 167 zend_ssa_var *var = &ssa->vars[ssa_op->result_def]; in zend_ssa_remove_result_def() 174 zend_ssa_var *var = &ssa->vars[ssa_op->op1_def]; in zend_ssa_remove_op1_def() 181 zend_ssa_var *var = &ssa->vars[ssa_op->op2_def]; in zend_ssa_remove_op2_def() 238 ssa->vars[ssa_op->op1_def].definition = -1; in zend_ssa_rename_defs_of_instr() 245 ssa->vars[ssa_op->op2_def].definition = -1; in zend_ssa_rename_defs_of_instr() 252 ssa->vars[ssa_op->result_def].definition = -1; in zend_ssa_rename_defs_of_instr() 263 int _var_num = (var) - ssa->vars, next; \ 271 int _var_num = (var) - ssa->vars; \
|
H A D | dce.c | 251 zend_ssa_var *var = &ctx->ssa->vars[var_num]; in add_to_worklists() 264 zend_ssa_var *var = &ctx->ssa->vars[var_num]; in add_to_phi_worklist_no_val() 303 zend_ssa_var *var = &ctx->ssa->vars[var_num]; in is_var_dead() 321 zend_ssa_var *var = &ctx->ssa->vars[free_var]; in try_remove_var_def() 423 ssa_op->op1_use_chain = ssa->vars[free_var].use_chain; in dce_instr() 424 ssa->vars[free_var].use_chain = ssa_op - ssa->ops; in dce_instr() 466 && ssa->vars[ssa_op->op1_def].var < op_array->num_args) { in may_break_varargs() 470 && ssa->vars[ssa_op->op2_def].var < op_array->num_args) { in may_break_varargs() 474 && ssa->vars[ssa_op->result_def].var < op_array->num_args) { in may_break_varargs() 584 add_phi_sources_to_worklists(&ctx, ssa->vars[i].definition_phi, 1); in dce_optimize_op_array() [all …]
|
/PHP-7.4/ext/opcache/tests/ |
H A D | bug65845.phpt | 10 $Pile['vars'][(string)'toto'] = 'tutu'; 11 var_dump($Pile['vars']['toto']);
|
/PHP-7.4/sapi/phpdbg/ |
H A D | phpdbg_info.c | 40 …PHPDBG_INFO_COMMAND_D(vars, "show active variables", 'v', info_vars, NULL, 0, PH… 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 …_notice("variableinfo", "num=\"%d\"", "Superglobal variables (%d)", zend_hash_num_elements(&vars)); in phpdbg_print_symbols() 221 …"%s\" num=\"%d\"", "Variables in %s (%d)", ZSTR_VAL(ops->filename), zend_hash_num_elements(&vars)); in phpdbg_print_symbols() 223 …iableinfo", "opline=\"%p\" num=\"%d\"", "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() 291 zend_hash_destroy(&vars); in phpdbg_print_symbols() [all …]
|
/PHP-7.4/ext/opcache/tests/opt/ |
H A D | dce_006.phpt | 21 $_main: ; (lines=1, args=0, vars=0, tmps=0) 26 foo: ; (lines=7, args=1, vars=2, tmps=1) 39 A::__destruct: ; (lines=1, args=0, vars=0, tmps=0)
|
H A D | sccp_001.phpt | 21 $_main: ; (lines=1, args=0, vars=0, tmps=0) 26 foo: ; (lines=1, args=0, vars=0, tmps=0)
|
H A D | sccp_019.phpt | 21 $_main: ; (lines=1, args=0, vars=0, tmps=0) 26 foo: ; (lines=2, args=1, vars=1, tmps=0)
|
H A D | sccp_017.phpt | 22 $_main: ; (lines=1, args=0, vars=0, tmps=0) 27 foo: ; (lines=2, args=1, vars=1, tmps=0)
|
H A D | dce_003.phpt | 19 $_main: ; (lines=1, args=0, vars=0, tmps=0) 24 foo: ; (lines=3, args=1, vars=1, tmps=0)
|
H A D | jmp_001.phpt | 19 $_main: ; (lines=1, args=0, vars=0, tmps=0) 24 test: ; (lines=4, args=0, vars=1, tmps=1)
|
H A D | sccp_005.phpt | 19 $_main: ; (lines=1, args=0, vars=0, tmps=0) 24 foo: ; (lines=3, args=1, vars=1, tmps=0)
|
/PHP-7.4/ext/pdo_mysql/ |
H A D | mysql_driver.c | 822 if (vars[0].optval && mysql_options(H->server, MYSQL_SET_CHARSET_NAME, vars[0].optval)) { 828 dbname = vars[1].optval; 829 host = vars[2].optval; 830 if(vars[3].optval) { 831 port = atoi(vars[3].optval); 835 if (vars[2].optval && !strcmp(".", vars[2].optval)) { 837 if (vars[2].optval && !strcmp("localhost", vars[2].optval)) { 839 unix_socket = vars[4].optval; 882 for (i = 0; i < sizeof(vars)/sizeof(vars[0]); i++) { 883 if (vars[i].freeme) { [all …]
|
/PHP-7.4/ext/intl/tests/ |
H A D | bug74484_MessageFormatter.phpt | 12 $vars = array( 27 var_dump(MessageFormatter::formatMessage('en_US', $text, $vars));
|
/PHP-7.4/ext/pdo_firebird/ |
H A D | firebird_driver.c | 634 struct pdo_data_src_parser vars[] = { in pdo_firebird_handle_factory() local 649 if (!dbh->username && vars[4].optval) { in pdo_firebird_handle_factory() 650 dbh->username = pestrdup(vars[4].optval, dbh->is_persistent); in pdo_firebird_handle_factory() 653 if (!dbh->password && vars[5].optval) { in pdo_firebird_handle_factory() 654 dbh->password = pestrdup(vars[5].optval, dbh->is_persistent); in pdo_firebird_handle_factory() 660 char const *dpb_values[] = { dbh->username, dbh->password, vars[1].optval, vars[2].optval }; in pdo_firebird_handle_factory() 676 if (vars[3].optval) { in pdo_firebird_handle_factory() 677 H->sql_dialect = atoi(vars[3].optval); in pdo_firebird_handle_factory() 693 for (i = 0; i < sizeof(vars)/sizeof(vars[0]); ++i) { in pdo_firebird_handle_factory() 694 if (vars[i].freeme) { in pdo_firebird_handle_factory() [all …]
|