/PHP-7.2/ext/snmp/ |
H A D | snmp.c | 548 if (snprint_value(buf, buflen, vars->name, vars->name_length, vars) == -1) { in php_snmp_getvalue() 584 ZVAL_STRINGL(&val, (char *)vars->val.string, vars->val_len); in php_snmp_getvalue() 598 (vars->val.string)[0], (vars->val.string)[1], in php_snmp_getvalue() 599 (vars->val.string)[2], (vars->val.string)[3]); in php_snmp_getvalue() 774 for (vars = response->variables; vars; vars = vars->next_variable) { in php_snmp_internal() 783 snprint_value(buf2, sizeof(buf2), vars->name, vars->name_length, vars); in php_snmp_internal() 814 …>vars[count].name_length == vars->name_length && snmp_oid_compare(objid_query->vars[count].name, o… in php_snmp_internal() 855 … memmove((char *)(objid_query->vars[0].name), (char *)vars->name, vars->name_length * sizeof(oid)); in php_snmp_internal() 856 objid_query->vars[0].name_length = vars->name_length; in php_snmp_internal() 874 vars = vars->next_variable, count++); in php_snmp_internal() [all …]
|
/PHP-7.2/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.2/Zend/tests/ |
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 | 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 | 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) {
|
H A D | cast_to_bool.phpt | 16 $vars = array( 32 foreach ($vars as $var) {
|
H A D | cast_to_int.phpt | 16 $vars = array( 32 foreach ($vars as $var) {
|
H A D | settype_bool.phpt | 16 $vars = array( 32 foreach ($vars as $var) {
|
H A D | cast_to_double.phpt | 18 $vars = array( 34 foreach ($vars as $var) {
|
H A D | settype_double.phpt | 18 $vars = array( 34 foreach ($vars as $var) {
|
H A D | settype_int.phpt | 16 $vars = array( 32 foreach ($vars as $var) {
|
/PHP-7.2/ext/opcache/Optimizer/ |
H A D | compact_vars.c | 100 names[cv_map[i]] = op_array->vars[i]; in zend_optimizer_compact_vars() 102 zend_string_release(op_array->vars[i]); in zend_optimizer_compact_vars() 105 efree(op_array->vars); in zend_optimizer_compact_vars() 106 op_array->vars = names; in zend_optimizer_compact_vars() 109 zend_string_release(op_array->vars[i]); in zend_optimizer_compact_vars() 111 efree(op_array->vars); in zend_optimizer_compact_vars() 112 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() 298 if (ssa->vars[source].var != ssa->vars[phi->ssa_var].var) { in ssa_verify_integrity() [all …]
|
H A D | zend_ssa.h | 131 zend_ssa_var *vars; /* use/def chain of SSA variables */ member 159 zend_ssa_var *var = &ssa->vars[ssa_op->result_def]; in zend_ssa_remove_result_def() 166 zend_ssa_var *var = &ssa->vars[ssa_op->op1_def]; in zend_ssa_remove_op1_def() 173 zend_ssa_var *var = &ssa->vars[ssa_op->op2_def]; in zend_ssa_remove_op2_def() 227 ssa->vars[ssa_op->op1_def].definition = -1; in zend_ssa_rename_defs_of_instr() 234 ssa->vars[ssa_op->op2_def].definition = -1; in zend_ssa_rename_defs_of_instr() 241 ssa->vars[ssa_op->result_def].definition = -1; in zend_ssa_rename_defs_of_instr() 252 int _var_num = (var) - ssa->vars, next; \ 260 int _var_num = (var) - ssa->vars; \
|
H A D | dce.c | 219 zend_ssa_var *var = &ctx->ssa->vars[var_num]; in add_to_worklists() 232 zend_ssa_var *var = &ctx->ssa->vars[var_num]; in add_to_phi_worklist_no_val() 267 zend_ssa_var *var = &ctx->ssa->vars[var_num]; in is_var_dead() 285 zend_ssa_var *var = &ctx->ssa->vars[free_var]; in try_remove_var_def() 389 ssa_op->op1_use_chain = ssa->vars[free_var].use_chain; in dce_instr() 390 ssa->vars[free_var].use_chain = ssa_op - ssa->ops; in dce_instr() 414 if (ssa->vars[ssa_op->result_def].use_chain < 0 in simplify_jumps() 424 if (ssa->vars[ssa_op->result_def].use_chain < 0 in simplify_jumps() 480 if (ssa->vars[ssa_op->result_def].use_chain >= 0 in simplify_jumps() 538 && ssa->vars[ssa_op->op1_def].var < op_array->num_args) { in may_break_varargs() [all …]
|
H A D | dfa_pass.c | 220 if (ssa->vars[j].definition >= 0) { in zend_ssa_remove_nops() 221 ssa->vars[j].definition -= shiftlist[ssa->vars[j].definition]; in zend_ssa_remove_nops() 223 if (ssa->vars[j].use_chain >= 0) { in zend_ssa_remove_nops() 224 ssa->vars[j].use_chain -= shiftlist[ssa->vars[j].use_chain]; in zend_ssa_remove_nops() 606 op_1 = ssa->vars[v].definition; in zend_dfa_optimize_op_array() 722 ssa->vars[v].definition = op_2; in zend_dfa_optimize_op_array() 726 ssa->vars[src_var].use_chain = -1; in zend_dfa_optimize_op_array() 804 && ssa->vars[v].use_chain >= 0 in zend_dfa_optimize_op_array() 812 int ret = ssa->vars[v].use_chain; in zend_dfa_optimize_op_array() 818 ssa->vars[v].definition = -1; in zend_dfa_optimize_op_array() [all …]
|
/PHP-7.2/ext/pdo_dblib/ |
H A D | dblib_driver.c | 371 struct pdo_data_src_parser vars[] = { in pdo_dblib_handle_factory() local 380 nvars = sizeof(vars)/sizeof(vars[0]); in pdo_dblib_handle_factory() 417 if(vars[5].optval) { in pdo_dblib_handle_factory() 448 if (vars[0].optval) { in pdo_dblib_handle_factory() 449 DBSETLCHARSET(H->login, vars[0].optval); in pdo_dblib_handle_factory() 453 DBSETLAPP(H->login, vars[1].optval); in pdo_dblib_handle_factory() 457 if (vars[3].optval) { in pdo_dblib_handle_factory() 462 H->link = dbopen(H->login, vars[2].optval); in pdo_dblib_handle_factory() 473 if (vars[3].optval) { in pdo_dblib_handle_factory() 495 if (vars[i].freeme) { in pdo_dblib_handle_factory() [all …]
|
/PHP-7.2/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.2/ext/opcache/tests/ |
H A D | bug65845.phpt | 10 $Pile['vars'][(string)'toto'] = 'tutu'; 11 var_dump($Pile['vars']['toto']);
|
/PHP-7.2/ext/intl/tests/ |
H A D | bug76942_MessageFormatter.phpt | 13 $vars = [ 22 $result = $formatter->format($vars);
|
H A D | bug74484_MessageFormatter.phpt | 14 $vars = array( 29 var_dump(MessageFormatter::formatMessage('en_US', $text, $vars));
|
/PHP-7.2/ext/pdo_mysql/ |
H A D | mysql_driver.c | 807 if (vars[0].optval && mysql_options(H->server, MYSQL_SET_CHARSET_NAME, vars[0].optval)) { 813 dbname = vars[1].optval; 814 host = vars[2].optval; 815 if(vars[3].optval) { 816 port = atoi(vars[3].optval); 820 if (vars[2].optval && !strcmp(".", vars[2].optval)) { 822 if (vars[2].optval && !strcmp("localhost", vars[2].optval)) { 824 unix_socket = vars[4].optval; 859 for (i = 0; i < sizeof(vars)/sizeof(vars[0]); i++) { 860 if (vars[i].freeme) { [all …]
|
/PHP-7.2/scripts/dev/ |
H A D | check_parameters.php | 159 function get_params($vars, $str) argument 172 if (empty($vars[$name][0])) { 177 $ret[] = array($name, $vars[$name][0] . ($x[1] ? '*' : ''), $vars[$name][1]); 212 $vars = get_vars(substr($txt, 0, $m[0][1])); // limit var search to current location 213 $params = get_params($vars, $m[2][0]);
|