Home
last modified time | relevance | path

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

1234567

/PHP-7.4/ext/snmp/
H A Dsnmp.c542 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 Dbug77793.phpt7 $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 Dget_defined_vars_basic.phpt15 $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 Dvar_export_basic6.phpt44 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 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)
H A Dsettype_null.phpt16 $vars = array(
32 foreach ($vars as $var) {
/PHP-7.4/ext/pdo_dblib/
H A Ddblib_driver.c454 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 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 Dssa_integrity.c27 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 Dzend_ssa.h139 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 Ddce.c251 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 Dbug65845.phpt10 $Pile['vars'][(string)'toto'] = 'tutu';
11 var_dump($Pile['vars']['toto']);
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_info.c40 …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 Ddce_006.phpt21 $_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 Dsccp_001.phpt21 $_main: ; (lines=1, args=0, vars=0, tmps=0)
26 foo: ; (lines=1, args=0, vars=0, tmps=0)
H A Dsccp_019.phpt21 $_main: ; (lines=1, args=0, vars=0, tmps=0)
26 foo: ; (lines=2, args=1, vars=1, tmps=0)
H A Dsccp_017.phpt22 $_main: ; (lines=1, args=0, vars=0, tmps=0)
27 foo: ; (lines=2, args=1, vars=1, tmps=0)
H A Ddce_003.phpt19 $_main: ; (lines=1, args=0, vars=0, tmps=0)
24 foo: ; (lines=3, args=1, vars=1, tmps=0)
H A Djmp_001.phpt19 $_main: ; (lines=1, args=0, vars=0, tmps=0)
24 test: ; (lines=4, args=0, vars=1, tmps=1)
H A Dsccp_005.phpt19 $_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 Dmysql_driver.c822 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 Dbug74484_MessageFormatter.phpt12 $vars = array(
27 var_dump(MessageFormatter::formatMessage('en_US', $text, $vars));
/PHP-7.4/ext/pdo_firebird/
H A Dfirebird_driver.c634 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 …]

Completed in 57 milliseconds

1234567