Searched defs:variable (Results 1 - 5 of 5) sorted by relevance

/PHP_TRUNK/sapi/apache2filter/
H A Dphp_functions.c221 /* {{{ proto bool apache_setenv(string variable, string value [, bool walk_to_top])
222 Set an Apache subprocess_env variable */
226 char *variable=NULL, *string_val=NULL; local
231 if (zend_parse_parameters(arg_count TSRMLS_CC, "ss|b", &variable, &variable_len, &string_val, &string_val_len, &walk_to_top) == FAILURE) {
243 apr_table_set(ctx->r->subprocess_env, variable, string_val);
249 /* {{{ proto bool apache_getenv(string variable [, bool walk_to_top])
250 Get an Apache subprocess_env variable */
254 char *variable=NULL; local
260 if (zend_parse_parameters(arg_count TSRMLS_CC, "s|b", &variable, &variable_len, &walk_to_top) == FAILURE) {
272 env_val = (char*) apr_table_get(ctx->r->subprocess_env, variable);
[all...]
/PHP_TRUNK/sapi/apache2handler/
H A Dphp_functions.c249 /* {{{ proto bool apache_setenv(string variable, string value [, bool walk_to_top])
250 Set an Apache subprocess_env variable */
256 char *variable=NULL, *string_val=NULL; local
262 if (zend_parse_parameters(arg_count TSRMLS_CC, "ss|b", &variable, &variable_len, &string_val, &string_val_len, &walk_to_top) == FAILURE) {
277 apr_table_set(r->subprocess_env, variable, string_val);
283 /* {{{ proto bool apache_getenv(string variable [, bool walk_to_top])
284 Get an Apache subprocess_env variable */
291 char *variable=NULL; local
298 if (zend_parse_parameters(arg_count TSRMLS_CC, "s|b", &variable, &variable_len, &walk_to_top) == FAILURE) {
313 env_val = (char*) apr_table_get(r->subprocess_env, variable);
[all...]
/PHP_TRUNK/sapi/isapi/
H A Dphp5isapi.c599 char *variable; local
643 variable = php_strtok_r(isapi_special_server_variables[SPECIAL_VAR_ALL_HTTP], "\r\n", &strtok_buf);
644 while (variable) {
645 char *colon = strchr(variable, ':');
654 php_register_variable(variable, value, track_vars_array TSRMLS_CC);
657 variable = php_strtok_r(NULL, "\r\n", &strtok_buf);
/PHP_TRUNK/Zend/
H A Dzend_language_parser.y137 %token T_STRING_VARNAME "variable name (T_STRING_VARNAME)"
138 %token T_VARIABLE "variable (T_VARIABLE)"
334 | T_RETURN variable ';' { zend_do_return(&$2, 1 TSRMLS_CC); }
342 | T_FOREACH '(' variable T_AS
392 variable { zend_do_end_variable_parse(&$1, BP_VAR_UNSET, 0 TSRMLS_CC); zend_do_unset(&$1 TSRMLS_CC); }
472 variable { zend_check_writable_variable(&$1); $$ = $1; }
473 | '&' variable { zend_check_writable_variable(&$2); $$ = $2; $$.EA |= ZEND_PARSED_REFERENCE_VARIABLE; }
594 | variable { zend_do_pass_param(&$1, ZEND_SEND_VAR TSRMLS_CC); }
778 | variable '=' expr { zend_check_writable_variable(&$1); zend_do_assign(&$$, &$1, &$3 TSRMLS_CC); }
779 | variable '
1099 variable: label
[all...]
H A Dzend_compile.c576 static inline zend_bool zend_is_function_or_method_call(const znode *variable) /* {{{ */ argument
578 zend_uint type = variable->EA;
930 void zend_do_assign(znode *result, znode *variable, znode *value TSRMLS_DC) /* {{{ */ argument
962 zend_do_end_variable_parse(variable, BP_VAR_W, 0 TSRMLS_CC);
967 if (variable->op_type == IS_CV) {
968 if (variable->u.op.var == CG(active_op_array)->this_var) {
971 } else if (variable->op_type == IS_VAR) {
980 last_op->result.var == variable->u.op.var) {
1025 SET_NODE(opline->op1, variable);
1090 * We won't try to free something of we don't have loop variable
1284 zend_check_writable_variable(const znode *variable) argument
1306 zend_do_end_variable_parse(znode *variable, int type, int arg_offset TSRMLS_DC) argument
[all...]

Completed in 13 milliseconds