Searched refs:var (Results 1 - 25 of 58) sorted by relevance

123

/PHP_5_3/ext/phar/
H A Dshortarc.php199 if ($var = getenv('TMP') ? getenv('TMP') : getenv('TEMP')) {
200 return $var;
207 if ($var = getenv('TMPDIR')) {
208 return $var;
/PHP_5_3/ext/phar/tests/tar/files/
H A Dcorrupt_tarmaker.php.inc8 * @var string
14 * @var stream
H A Dmake.dangerous.tar.php.inc9 * @var string
15 * @var stream
H A Dtarmaker.php.inc8 * @var string
14 * @var stream
/PHP_5_3/ext/phar/tests/zip/files/
H A Dzipmaker.php.inc8 * @var string
12 * @var ZIPArchive
/PHP_5_3/sapi/fpm/fpm/
H A Dfpm_env.c48 char *var = alloca(name_len + 1 + value_len + 1); local
50 memcpy(var, name, name_len);
52 var[name_len] = '=';
54 memcpy(var + name_len + 1, value, value_len);
56 var[name_len + 1 + value_len] = '\0';
58 return putenv(var);
H A Dfastcgi.h125 char* fcgi_getenv(fcgi_request *req, const char* var, int var_len);
126 char* fcgi_putenv(fcgi_request *req, char* var, int var_len, char* val);
/PHP_5_3/win32/build/
H A Dphpize.js.in22 var STDOUT = WScript.StdOut;
24 var FSO = WScript.CreateObject("Scripting.FileSystemObject");
25 var C = FSO.CreateTextFile("configure.js", true);
26 var B = FSO.CreateTextFile("configure.bat", true);
27 var DSP = false;
29 var PHP_DIR=FSO.GetParentFolderName(WScript.ScriptFullName).replace(re,"");
31 var modules = "";
32 var MODULES = WScript.CreateObject("Scripting.Dictionary");
33 var module_dirs = new Array();
43 var
[all...]
/PHP_5_3/ext/interbase/
H A Dibase_query.c104 XSQLVAR *var; local
109 var = sqlda->sqlvar;
110 for (i = 0; i < sqlda->sqld; i++, var++) {
111 efree(var->sqldata);
112 if (var->sqlind) {
113 efree(var->sqlind);
225 XSQLVAR *var = &sqlda->sqlvar[i]; local
227 if ((var->sqltype & ~1) == SQL_ARRAY) {
231 if (isc_array_lookup_bounds(IB_STATUS, &link, &trans, var->relname,
232 var
647 XSQLVAR *var = &sqlda->sqlvar[i]; local
816 XSQLVAR *var = &sqlda->sqlvar[i]; local
1514 XSQLVAR *var = &ib_result->out_sqlda->sqlvar[i]; local
1919 _php_ibase_field_info(zval *return_value, XSQLVAR *var) argument
[all...]
/PHP_5_3/ext/mbstring/
H A Dmb_gpc.c197 char *var, *val; local
243 var = php_strtok_r(res, info->separator, &strtok_buf);
244 while (var) {
245 val = strchr(var, '=');
247 len_list[n] = php_url_decode(var, val-var);
248 val_list[n] = var;
255 len_list[n] = php_url_decode(var, strlen(var));
256 val_list[n] = var;
[all...]
/PHP_5_3/ext/oci8/
H A Doci8_statement.c985 int php_oci_bind_by_name(php_oci_statement *statement, char *name, int name_len, zval* var, long maxlength, ub2 type TSRMLS_DC) argument
1003 if (Z_TYPE_P(var) != IS_OBJECT || zend_hash_find(Z_OBJPROP_P(var), "collection", sizeof("collection"), (void **)&tmp) == FAILURE) {
1025 if (Z_TYPE_P(var) != IS_OBJECT || zend_hash_find(Z_OBJPROP_P(var), "descriptor", sizeof("descriptor"), (void **)&tmp) == FAILURE) {
1044 if (Z_TYPE_P(var) == IS_RESOURCE || Z_TYPE_P(var) == IS_OBJECT) {
1048 convert_to_long(var);
1049 bind_data = (ub4 *)&Z_LVAL_P(var);
1059 if (Z_TYPE_P(var)
1407 php_oci_bind_array_by_name(php_oci_statement *statement, char *name, int name_len, zval* var, long max_table_length, long maxlength, long type TSRMLS_DC) argument
1506 php_oci_bind_array_helper_string(zval* var, long max_table_length, long maxlength TSRMLS_DC) argument
1575 php_oci_bind_array_helper_number(zval* var, long max_table_length TSRMLS_DC) argument
1613 php_oci_bind_array_helper_double(zval* var, long max_table_length TSRMLS_DC) argument
1651 php_oci_bind_array_helper_date(zval* var, long max_table_length, php_oci_connection *connection TSRMLS_DC) argument
[all...]
H A Dphp_oci8_int.h224 ub4 dummy_len; /* a dummy var to store alenpp value in bind OUT callback */
344 #define PHP_OCI_FETCH_RESOURCE_EX(zval, var, type, name, resource_type) \
346 var = (type) zend_fetch_resource(&zval TSRMLS_CC, -1, name, NULL, 1, resource_type); \
347 if (!var) { \
465 int php_oci_bind_array_by_name(php_oci_statement *statement, char *name, int name_len, zval* var, long max_table_length, long maxlength, long type TSRMLS_DC);
466 php_oci_bind *php_oci_bind_array_helper_number(zval* var, long max_table_length TSRMLS_DC);
467 php_oci_bind *php_oci_bind_array_helper_double(zval* var, long max_table_length TSRMLS_DC);
468 php_oci_bind *php_oci_bind_array_helper_string(zval* var, long max_table_length, long maxlength TSRMLS_DC);
469 php_oci_bind *php_oci_bind_array_helper_date(zval* var, long max_table_length, php_oci_connection *connection TSRMLS_DC);
/PHP_5_3/ext/standard/
H A Dtype.c24 /* {{{ proto string gettype(mixed var)
89 /* {{{ proto bool settype(mixed var, string type)
93 zval **var; local
97 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Zs", &var, &type, &type_len) == FAILURE) {
102 convert_to_long(*var);
104 convert_to_long(*var);
106 convert_to_double(*var);
108 convert_to_double(*var);
110 convert_to_string(*var);
112 convert_to_array(*var);
359 zval *var, **callable_name = NULL; local
[all...]
/PHP_5_3/ext/wddx/
H A Dphp_wddx_api.h48 #define WDDX_VAR_S "<var name='%s'>"
49 #define WDDX_VAR_E "</var>"
63 void php_wddx_serialize_var(wddx_packet *packet, zval *var, char *name, int name_len TSRMLS_DC);
H A Dwddx.c58 #define EL_VAR "var"
107 ZEND_ARG_INFO(0, var)
402 static void php_wddx_serialize_string(wddx_packet *packet, zval *var TSRMLS_DC)
406 if (Z_STRLEN_P(var) > 0) {
410 buf = php_escape_html_entities(Z_STRVAL_P(var), Z_STRLEN_P(var), &buf_len, 0, ENT_QUOTES, NULL TSRMLS_CC);
422 static void php_wddx_serialize_number(wddx_packet *packet, zval *var) argument
427 tmp = *var;
439 static void php_wddx_serialize_boolean(wddx_packet *packet, zval *var) argument
441 php_wddx_add_chunk(packet, Z_LVAL_P(var)
627 php_wddx_serialize_var(wddx_packet *packet, zval *var, char *name, int name_len TSRMLS_DC) argument
1161 zval *var; local
[all...]
/PHP_5_3/main/
H A Dphp_variables.c37 PHPAPI void php_register_variable(char *var, char *strval, zval *track_vars_array TSRMLS_DC) argument
39 php_register_variable_safe(var, strval, strlen(strval), track_vars_array TSRMLS_CC);
43 PHPAPI void php_register_variable_safe(char *var, char *strval, int str_len, zval *track_vars_array TSRMLS_DC) argument
57 php_register_variable_ex(var, &new_entry, track_vars_array TSRMLS_CC);
65 char *var, *var_orig; local
92 var = var_orig;
94 while (*var && *var==' ') {
95 var++;
99 for (p = var; *
258 char *var, *val, *e, *s, *p; local
306 char *res = NULL, *var, *val, *separator = NULL; local
[all...]
H A Dphp_variables.h39 PHPAPI void php_register_variable(char *var, char *val, zval *track_vars_array TSRMLS_DC);
41 PHPAPI void php_register_variable_safe(char *var, char *val, int val_len, zval *track_vars_array TSRMLS_DC);
42 PHPAPI void php_register_variable_ex(char *var, zval *val, zval *track_vars_array TSRMLS_DC);
H A Drfc1867.c44 static void safe_php_register_variable(char *var, char *strval, int val_len, zval *track_vars_array, zend_bool override_protection TSRMLS_DC);
229 static void safe_php_register_variable(char *var, char *strval, int val_len, zval *track_vars_array, zend_bool override_protection TSRMLS_DC) /* {{{ */ argument
231 if (override_protection || !is_protected_variable(var TSRMLS_CC)) {
232 php_register_variable_safe(var, strval, val_len, track_vars_array TSRMLS_CC);
237 static void safe_php_register_variable_ex(char *var, zval *val, zval *track_vars_array, zend_bool override_protection TSRMLS_DC) /* {{{ */ argument
239 if (override_protection || !is_protected_variable(var TSRMLS_CC)) {
240 php_register_variable_ex(var, val, track_vars_array TSRMLS_CC);
255 static void register_http_post_files_variable_ex(char *var, zval *val, zval *http_post_files, zend_bool override_protection TSRMLS_DC) /* {{{ */ argument
260 safe_php_register_variable_ex(var, val, http_post_files, override_protection TSRMLS_CC);
/PHP_5_3/sapi/cgi/
H A Dfastcgi.h124 char* fcgi_getenv(fcgi_request *req, const char* var, int var_len);
125 char* fcgi_putenv(fcgi_request *req, char* var, int var_len, char* val);
/PHP_5_3/Zend/
H A Dzend_variables.c150 ZEND_API int zend_print_variable(zval *var) argument
152 return zend_print_zval(var, 0);
H A Dzend_execute.c73 should_free->var = z;
76 should_free->var = 0;
115 if (should_free.var) { \
116 if ((zend_uintptr_t)should_free.var & 1L) { \
117 zval_dtor((zval*)((zend_uintptr_t)should_free.var & ~1L)); \
119 zval_ptr_dtor(&should_free.var); \
124 if (should_free.var != NULL && (((zend_uintptr_t)should_free.var & 1L) == 0)) { \
125 zval_ptr_dtor(&should_free.var); \
129 if (should_free.var) { \
170 zend_get_compiled_variable_value(const zend_execute_data *execute_data_ptr, zend_uint var) argument
218 _get_zval_cv_lookup(zval ***ptr, zend_uint var, int type TSRMLS_DC) argument
[all...]
H A Dzend_API.h610 zval *var; \
611 ALLOC_ZVAL(var); \
612 ZVAL_STRING(var, v, 0); \
613 ZEND_SET_GLOBAL_VAR(n, var); \
619 zval *var; \
620 ALLOC_ZVAL(var); \
621 ZVAL_STRINGL(var, v, l, 0); \
622 ZEND_SET_GLOBAL_VAR(n, var); \
628 zval *var; \
629 ALLOC_ZVAL(var); \
[all...]
H A Dzend_vm_def.h33 add_function(&EX_T(opline->result.u.var).tmp_var,
46 sub_function(&EX_T(opline->result.u.var).tmp_var,
59 mul_function(&EX_T(opline->result.u.var).tmp_var,
72 div_function(&EX_T(opline->result.u.var).tmp_var,
85 mod_function(&EX_T(opline->result.u.var).tmp_var,
98 shift_left_function(&EX_T(opline->result.u.var).tmp_var,
111 shift_right_function(&EX_T(opline->result.u.var).tmp_var,
124 concat_function(&EX_T(opline->result.u.var).tmp_var,
137 is_identical_function(&EX_T(opline->result.u.var).tmp_var,
149 zval *result = &EX_T(opline->result.u.var)
1853 zval *var = GET_OP2_ZVAL_PTR(BP_VAR_R); variable
1876 zval_dtor(var); variable
[all...]
H A Dzend_vm_execute.h137 zval *tmp = &EX_T(EX(opline)->result.u.var).tmp_var;
184 if (!EX_T(EX(call_opline)->result.u.var).var.ptr) { /* there was no return statement */
185 ALLOC_ZVAL(EX_T(EX(call_opline)->result.u.var).var.ptr);
186 INIT_PZVAL(EX_T(EX(call_opline)->result.u.var).var.ptr);
187 Z_LVAL_P(EX_T(EX(call_opline)->result.u.var).var.ptr) = 1;
188 Z_TYPE_P(EX_T(EX(call_opline)->result.u.var)
6461 zval *var = _get_zval_ptr_tmp(&opline->op2, EX(Ts), &free_op2 TSRMLS_CC); local
6927 zval *var = _get_zval_ptr_var(&opline->op2, EX(Ts), &free_op2 TSRMLS_CC); local
7486 zval *var = _get_zval_ptr_cv(&opline->op2, EX(Ts), BP_VAR_R TSRMLS_CC); local
18869 zval *var = _get_zval_ptr_tmp(&opline->op2, EX(Ts), &free_op2 TSRMLS_CC); local
19928 zval *var = _get_zval_ptr_var(&opline->op2, EX(Ts), &free_op2 TSRMLS_CC); local
21248 zval *var = _get_zval_ptr_cv(&opline->op2, EX(Ts), BP_VAR_R TSRMLS_CC); local
[all...]
/PHP_5_3/ext/pdo_firebird/
H A Dfirebird_statement.c43 XSQLVAR const *var = &sqlda->sqlvar[i]; local
45 if (var->sqlind) {
46 efree(var->sqlind);
189 XSQLVAR *var = &S->out_sqlda.sqlvar[colno]; local
194 var->sqlind = (void*)ecalloc(1, var->sqllen + 2*sizeof(short));
195 var->sqldata = &((char*)var->sqlind)[sizeof(short)];
197 colname_len = (S->H->fetch_table_names && var->relname_length)
198 ? (var
304 XSQLVAR const *var = &S->out_sqlda.sqlvar[colno]; local
457 XSQLVAR *var; local
479 XSQLVAR *var = &sqlda->sqlvar[i]; local
[all...]

Completed in 54 milliseconds

123