Home
last modified time | relevance | path

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

12345678910

/PHP-7.0/ext/snmp/
H A Dsnmp.c558 if (snprint_value(buf, buflen, vars->name, vars->name_length, vars) == -1) { in php_snmp_getvalue()
604 ZVAL_STRINGL(&val, (char *)vars->val.string, vars->val_len); in php_snmp_getvalue()
618 (vars->val.string)[0], (vars->val.string)[1], in php_snmp_getvalue()
619 (vars->val.string)[2], (vars->val.string)[3]); in php_snmp_getvalue()
794 for (vars = response->variables; vars; vars = vars->next_variable) { in php_snmp_internal()
803 snprint_value(buf2, sizeof(buf2), vars->name, vars->name_length, vars); in php_snmp_internal()
834 …>vars[count].name_length == vars->name_length && snmp_oid_compare(objid_query->vars[count].name, o… in php_snmp_internal()
875 … memmove((char *)(objid_query->vars[0].name), (char *)vars->name, vars->name_length * sizeof(oid)); in php_snmp_internal()
876 objid_query->vars[0].name_length = vars->name_length; in php_snmp_internal()
894 vars = vars->next_variable, count++); in php_snmp_internal()
[all …]
/PHP-7.0/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.0/Zend/tests/
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 Dbug71336.phpt12 $vars = get_object_vars($this);
14 print_r($vars);
20 $vars = get_object_vars($this);
22 print_r($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) {
H A Dcast_to_bool.phpt16 $vars = array(
32 foreach ($vars as $var) {
H A Dsettype_bool.phpt16 $vars = array(
32 foreach ($vars as $var) {
H A Dcast_to_int.phpt16 $vars = array(
32 foreach ($vars as $var) {
H A Dcast_to_double.phpt18 $vars = array(
34 foreach ($vars as $var) {
H A Dsettype_double.phpt18 $vars = array(
34 foreach ($vars as $var) {
H A Dsettype_int.phpt16 $vars = array(
32 foreach ($vars as $var) {
H A Dcast_to_string.phpt16 $vars = array(
32 foreach ($vars as $var) {
H A Dsettype_string.phpt16 $vars = array(
32 foreach ($vars as $var) {
H A Dcast_to_array.phpt20 $vars = array(
36 foreach ($vars as $var) {
H A Dsettype_array.phpt20 $vars = array(
36 foreach ($vars as $var) {
H A Dcast_to_object.phpt16 $vars = array(
32 foreach ($vars as $var) {
H A Dsettype_object.phpt16 $vars = array(
32 foreach ($vars as $var) {
/PHP-7.0/ext/pdo_dblib/
H A Ddblib_driver.c333 struct pdo_data_src_parser vars[] = { in pdo_dblib_handle_factory() local
342 nvars = sizeof(vars)/sizeof(vars[0]); in pdo_dblib_handle_factory()
377 if(vars[5].optval) { in pdo_dblib_handle_factory()
408 if (vars[0].optval) { in pdo_dblib_handle_factory()
409 DBSETLCHARSET(H->login, vars[0].optval); in pdo_dblib_handle_factory()
413 DBSETLAPP(H->login, vars[1].optval); in pdo_dblib_handle_factory()
417 if (vars[3].optval) { in pdo_dblib_handle_factory()
422 H->link = dbopen(H->login, vars[2].optval); in pdo_dblib_handle_factory()
433 if (vars[3].optval) { in pdo_dblib_handle_factory()
455 if (vars[i].freeme) { in pdo_dblib_handle_factory()
[all …]
/PHP-7.0/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.0/ext/opcache/tests/
H A Dbug65845.phpt10 $Pile['vars'][(string)'toto'] = 'tutu';
11 var_dump($Pile['vars']['toto']);
/PHP-7.0/ext/pdo_mysql/
H A Dmysql_driver.c754 if (vars[0].optval && mysql_options(H->server, MYSQL_SET_CHARSET_NAME, vars[0].optval)) {
760 dbname = vars[1].optval;
761 host = vars[2].optval;
762 if(vars[3].optval) {
763 port = atoi(vars[3].optval);
767 if (vars[2].optval && !strcmp(".", vars[2].optval)) {
769 if (vars[2].optval && !strcmp("localhost", vars[2].optval)) {
771 unix_socket = vars[4].optval;
806 for (i = 0; i < sizeof(vars)/sizeof(vars[0]); i++) {
807 if (vars[i].freeme) {
[all …]
/PHP-7.0/scripts/dev/
H A Dcheck_parameters.php159 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]);
/PHP-7.0/main/
H A Dphp_variables.c298 static inline int add_post_vars(zval *arr, post_var_data_t *vars, zend_bool eof) in add_post_vars() argument
302 vars->ptr = ZSTR_VAL(vars->str.s); in add_post_vars()
303 vars->end = ZSTR_VAL(vars->str.s) + ZSTR_LEN(vars->str.s); in add_post_vars()
304 while (add_post_var(arr, vars, eof)) { in add_post_vars()
305 if (++vars->cnt > max_vars) { in add_post_vars()
314 if (!eof && ZSTR_VAL(vars->str.s) != vars->ptr) { in add_post_vars()
315 memmove(ZSTR_VAL(vars->str.s), vars->ptr, ZSTR_LEN(vars->str.s) = vars->end - vars->ptr); in add_post_vars()

Completed in 34 milliseconds

12345678910