Searched defs:vars (Results 1 - 14 of 14) sorted by relevance

/PHP_TRUNK/scripts/dev/
H A Dcheck_parameters.php112 /** parses the sources and fetches its vars name, type and if they are initialized or not */
123 // are there more vars?
166 function get_params($vars, $str)
179 if (empty($vars[$name][0])) {
184 $ret[] = array($name, $vars[$name][0] . ($x[1] ? '*' : ''), $vars[$name][1]);
211 $vars = get_vars(substr($txt, 0, $m[0][1])); // limit var search to current location variable
212 $params = get_params($vars, $m[2][0]);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_info.h34 PHPDBG_INFO(vars); variable
H A Dphpdbg_info.c40 PHPDBG_INFO_COMMAND_D(vars, "show active variables", 'v', info_vars, NULL, 0, PHPDBG_ASYNC_SAFE),
169 HashTable vars; local
188 zend_hash_init(&vars, 8, NULL, NULL, 0);
193 zend_hash_update(&vars, var, data);
201 phpdbg_notice("variableinfo", "num=\"%d\"", "Superglobal variables (%d)", zend_hash_num_elements(&vars));
207 phpdbg_notice("variableinfo", "method=\"%s::%s\" num=\"%d\"", "Variables in %s::%s() (%d)", ops->scope->name, ops->function_name, zend_hash_num_elements(&vars));
209 phpdbg_notice("variableinfo", "function=\"%s\" num=\"%d\"", "Variables in %s() (%d)", ops->function_name, zend_hash_num_elements(&vars));
213 phpdbg_notice("variableinfo", "file=\"%s\" num=\"%d\"", "Variables in %s (%d)", ops->filename->val, zend_hash_num_elements(&vars));
215 phpdbg_notice("variableinfo", "opline=\"%p\" num=\"%d\"", "Variables @ %p (%d)", ops, zend_hash_num_elements(&vars));
220 if (zend_hash_num_elements(&vars)) {
[all...]
H A Dphpdbg_opcode.c43 static inline char *phpdbg_decode_op(zend_op_array *ops, znode_op *op, uint32_t type, HashTable *vars) /* {{{ */ argument
49 asprintf(&decode, "$%s", ops->vars[EX_VAR_TO_NUM(op->var)]->val);
55 if (vars != NULL) {
56 if ((pid = zend_hash_index_find_ptr(vars, (zend_ulong) ops->vars - op->var))) {
59 id = zend_hash_num_elements(vars);
60 zend_hash_index_update_mem(vars, (zend_ulong) ops->vars - op->var, &id, sizeof(zend_ulong));
77 char *phpdbg_decode_opline(zend_op_array *ops, zend_op *op, HashTable *vars) /*{{{ */ argument
93 decode[1] = phpdbg_decode_op(ops, &op->op1, op->op1_type, vars);
136 phpdbg_print_opline_ex(zend_execute_data *execute_data, HashTable *vars, zend_bool ignore_flags) argument
[all...]
H A Dphpdbg_print.c58 HashTable vars; local
80 zend_hash_init(&vars, op_array->last, NULL, NULL, 0);
82 char *decode = phpdbg_decode_opline(op_array, opline, &vars);
95 zend_hash_destroy(&vars);
H A Dphpdbg_prompt.c795 phpdbg_writeln("print", "vars=\"%d\"", "Variables %d", PHPDBG_G(ops)->last_var ? PHPDBG_G(ops)->last_var - 1 : 0);
1344 HashTable vars; local
1346 zend_hash_init(&vars, execute_data->func->op_array.last, NULL, NULL, 0);
1418 phpdbg_print_opline_ex(execute_data, &vars, 0);
1465 zend_hash_destroy(&vars);
/PHP_TRUNK/Zend/
H A Dzend_compile.h322 zend_string **vars; member in struct:_zend_op_array
/PHP_TRUNK/ext/mysqli/
H A Dphp_mysqli_structs.h110 zval *vars; member in struct:__anon128
/PHP_TRUNK/ext/pdo_dblib/
H A Ddblib_driver.c337 struct pdo_data_src_parser vars[] = { local
346 nvars = sizeof(vars)/sizeof(vars[0]);
348 php_pdo_parse_data_source(dbh->data_source, dbh->data_source_len, vars, nvars);
367 if(vars[5].optval) {
369 if(strcmp(vars[5].optval,tdsver[i].key) == 0) {
379 printf("Invalid version '%s'\n", vars[5].optval);
398 if (vars[0].optval) {
399 DBSETLCHARSET(H->login, vars[0].optval);
403 DBSETLAPP(H->login, vars[
[all...]
/PHP_TRUNK/ext/pdo_firebird/
H A Dfirebird_driver.c644 struct pdo_data_src_parser vars[] = { local
654 php_pdo_parse_data_source(dbh->data_source, dbh->data_source_len, vars, 3);
659 char const *dpb_values[] = { dbh->username, dbh->password, vars[1].optval, vars[2].optval };
675 if (isc_attach_database(H->isc_status, 0, vars[0].optval, &H->db,(short)(dpb-dpb_buffer), dpb_buffer)) {
687 for (i = 0; i < sizeof(vars)/sizeof(vars[0]); ++i) {
688 if (vars[i].freeme) {
689 efree(vars[i].optval);
/PHP_TRUNK/ext/pdo_mysql/
H A Dmysql_driver.c548 struct pdo_data_src_parser vars[] = { local
579 php_pdo_parse_data_source(dbh->data_source, dbh->data_source_len, vars, 5);
739 if (vars[0].optval && mysql_options(H->server, MYSQL_SET_CHARSET_NAME, vars[0].optval)) {
745 dbname = vars[1].optval;
746 host = vars[2].optval;
747 if(vars[3].optval) {
748 port = atoi(vars[3].optval);
750 if (vars[2].optval && !strcmp("localhost", vars[
[all...]
/PHP_TRUNK/ext/pdo_oci/
H A Doci_driver.c595 struct pdo_data_src_parser vars[] = { local
600 php_pdo_parse_data_source(dbh->data_source, dbh->data_source_len, vars, 2);
607 if (vars[0].optval) {
608 H->charset = OCINlsCharSetNameToId(pdo_oci_Env, (const oratext *)vars[0].optval);
631 H->last_err = OCIServerAttach(H->server, H->err, (text*)vars[1].optval,
632 strlen(vars[1].optval), OCI_DEFAULT);
704 for (i = 0; i < sizeof(vars)/sizeof(vars[0]); i++) {
705 if (vars[i].freeme) {
706 efree(vars[
[all...]
/PHP_TRUNK/ext/snmp/
H A Dsnmp.c384 snmpobjarg *vars; member in struct:objid_query
550 static void php_snmp_getvalue(struct variable_list *vars, zval *snmpval, int valueretrieval) argument
557 int val_len = vars->val_len;
566 if (snprint_value(buf, buflen, vars->name, vars->name_length, vars) == -1) {
605 switch (vars->type) {
607 ZVAL_STRINGL(&val, (char *)vars->val.bitstring, vars->val_len);
612 ZVAL_STRINGL(&val, (char *)vars
707 struct variable_list *vars; local
[all...]
/PHP_TRUNK/main/
H A Dphp_variables.c293 static inline int add_post_vars(zval *arr, post_var_data_t *vars, zend_bool eof) argument
297 vars->ptr = vars->str.s->val;
298 vars->end = vars->str.s->val + vars->str.s->len;
299 while (add_post_var(arr, vars, eof)) {
300 if (++vars->cnt > max_vars) {
310 memmove(vars->str.s->val, vars
[all...]

Completed in 20 milliseconds