Home
last modified time | relevance | path

Searched refs:varname (Results 1 – 23 of 23) sorted by relevance

/php-src/ext/standard/tests/file/
H A Dbug38450.phpt9 var $varname;
18 $this->varname = $url["host"];
26 $ret = substr($GLOBALS[$this->varname], $this->position, $count);
33 $left = substr($GLOBALS[$this->varname], 0, $this->position);
34 $right = substr($GLOBALS[$this->varname], $this->position + strlen($data));
35 $GLOBALS[$this->varname] = $left . $data . $right;
47 return $this->position >= strlen($GLOBALS[$this->varname]);
53 if ($offset < strlen($GLOBALS[$this->varname]) && $offset >= 0) {
71 if (strlen($GLOBALS[$this->varname]) + $offset >= 0) {
72 $this->position = strlen($GLOBALS[$this->varname]) + $offset;
H A Dbug38450_1.phpt9 var $varname;
18 $this->varname = $url["host"];
26 $ret = substr($GLOBALS[$this->varname], $this->position, $count);
33 $left = substr($GLOBALS[$this->varname], 0, $this->position);
34 $right = substr($GLOBALS[$this->varname], $this->position + strlen($data));
35 $GLOBALS[$this->varname] = $left . $data . $right;
47 return $this->position >= strlen($GLOBALS[$this->varname]);
53 if ($offset < strlen($GLOBALS[$this->varname]) && $offset >= 0) {
71 if (strlen($GLOBALS[$this->varname]) + $offset >= 0) {
72 $this->position = strlen($GLOBALS[$this->varname]) + $offset;
H A Dbug38450_2.phpt9 var $varname;
18 $this->varname = $url["host"];
26 $ret = substr($GLOBALS[$this->varname], $this->position, $count);
33 $left = substr($GLOBALS[$this->varname], 0, $this->position);
34 $right = substr($GLOBALS[$this->varname], $this->position + strlen($data));
35 $GLOBALS[$this->varname] = $left . $data . $right;
47 return $this->position >= strlen($GLOBALS[$this->varname]);
53 if ($offset < strlen($GLOBALS[$this->varname]) && $offset >= 0) {
71 if (strlen($GLOBALS[$this->varname]) + $offset >= 0) {
72 $this->position = strlen($GLOBALS[$this->varname]) + $offset;
H A Dbug38450_3.phpt9 var $varname;
18 $this->varname = $url["host"];
26 $ret = substr($GLOBALS[$this->varname], $this->position, $count);
33 $left = substr($GLOBALS[$this->varname], 0, $this->position);
34 $right = substr($GLOBALS[$this->varname], $this->position + strlen($data));
35 $GLOBALS[$this->varname] = $left . $data . $right;
47 return $this->position >= strlen($GLOBALS[$this->varname]);
53 if ($offset < strlen($GLOBALS[$this->varname]) && $offset >= 0) {
71 if (strlen($GLOBALS[$this->varname]) + $offset >= 0) {
72 $this->position = strlen($GLOBALS[$this->varname]) + $offset;
H A Dinclude_streams.phpt19 public $varname;
41 $this->varname = substr($split["path"],1);
44 $this->position = strlen($GLOBALS[$this->varname]);
53 $ret = substr($GLOBALS[$this->varname], $this->position, $count);
65 return $this->position >= strlen($GLOBALS[$this->varname]);
72 if ($offset < strlen($GLOBALS[$this->varname]) && $offset >= 0) {
88 if (strlen($GLOBALS[$this->varname]) + $offset >= 0) {
89 $this->position = strlen($GLOBALS[$this->varname]) + $offset;
H A Duserstreams.phpt90 public $varname;
99 $this->varname = $split["host"];
102 $this->position = strlen($GLOBALS[$this->varname]);
111 $ret = substr($GLOBALS[$this->varname], $this->position, $count);
123 return $this->position >= strlen($GLOBALS[$this->varname]);
130 if ($offset < strlen($GLOBALS[$this->varname]) && $offset >= 0) {
146 if (strlen($GLOBALS[$this->varname]) + $offset >= 0) {
147 $this->position = strlen($GLOBALS[$this->varname]) + $offset;
/php-src/main/
H A Dphp_ini.h29 PHPAPI int cfg_get_long(const char *varname, zend_long *result);
30 PHPAPI int cfg_get_double(const char *varname, double *result);
31 PHPAPI int cfg_get_string(const char *varname, char **result);
H A Drfc1867.c65 char *s = varname, *index = NULL, *indexend = NULL, *p; in normalize_protected_variable()
73 if (s != varname) { in normalize_protected_variable()
74 memmove(varname, s, strlen(s)+1); in normalize_protected_variable()
77 for (p = varname; *p && *p != '['; p++) { in normalize_protected_variable()
87 index = strchr(varname, '['); in normalize_protected_variable()
121 static void add_protected_variable(char *varname) /* {{{ */ in add_protected_variable() argument
123 normalize_protected_variable(varname); in add_protected_variable()
124 zend_hash_str_add_empty_element(&PG(rfc1867_protected_variables), varname, strlen(varname)); in add_protected_variable()
128 static bool is_protected_variable(char *varname) /* {{{ */ in is_protected_variable() argument
130 normalize_protected_variable(varname); in is_protected_variable()
[all …]
H A Dphp_ini.c899 PHPAPI int cfg_get_long(const char *varname, zend_long *result) argument
903 if ((tmp = zend_hash_str_find(&configuration_hash, varname, strlen(varname))) == NULL) {
913 PHPAPI int cfg_get_double(const char *varname, double *result) argument
917 if ((tmp = zend_hash_str_find(&configuration_hash, varname, strlen(varname))) == NULL) {
927 PHPAPI int cfg_get_string(const char *varname, char **result) argument
931 if ((tmp = zend_hash_str_find(&configuration_hash, varname, strlen(varname))) == NULL) {
/php-src/Zend/tests/
H A Dbug68162.phpt2 Bug #68162: isset($$varname) always true
/php-src/ext/standard/
H A Dbasic_functions.c1307 zend_string *varname; local
1310 Z_PARAM_STR(varname)
1908 Z_PARAM_STR(varname)
2005 zend_string *varname; local
2010 Z_PARAM_STR(varname)
2033 if (_CHECK_PATH(ZSTR_VAL(varname), ZSTR_LEN(varname), "error_log") ||
2034 _CHECK_PATH(ZSTR_VAL(varname), ZSTR_LEN(varname), "java.class.path") ||
2035 _CHECK_PATH(ZSTR_VAL(varname), ZSTR_LEN(varname), "java.home") ||
2036 _CHECK_PATH(ZSTR_VAL(varname), ZSTR_LEN(varname), "mail.log") ||
2059 zend_string *varname; local
[all …]
/php-src/ext/spl/tests/SplFileObject/
H A DSplFileObject_ftruncate_error_001.phpt9 public $varname;
H A DSplFileObject_fflush_basic_001.phpt17 public $varname;
/php-src/Zend/
H A Dzend_vm_def.h1703 zval *varname; variable
1712 name = Z_STR_P(varname);
1714 name = Z_STR_P(varname);
6598 zval *varname; variable
6607 name = Z_STR_P(varname);
6609 name = Z_STR_P(varname);
6636 zval *varname; variable
6664 name = Z_STR_P(varname);
6666 name = Z_STR_P(varname);
7425 zval *varname; variable
[all …]
H A Dzend_vm_execute.h2852 zval *varname; in ZEND_UNSET_STATIC_PROP_SPEC_HANDLER() local
10459 zval *varname; in zend_fetch_var_address_helper_SPEC_CONST_UNUSED() local
11102 zval *varname; in ZEND_UNSET_VAR_SPEC_CONST_UNUSED_HANDLER() local
11142 zval *varname; in ZEND_ISSET_ISEMPTY_VAR_SPEC_CONST_UNUSED_HANDLER() local
18501 zval *varname; in zend_fetch_var_address_helper_SPEC_TMPVAR_UNUSED() local
18664 zval *varname; in ZEND_UNSET_VAR_SPEC_TMPVAR_UNUSED_HANDLER() local
18704 zval *varname; in ZEND_ISSET_ISEMPTY_VAR_SPEC_TMPVAR_UNUSED_HANDLER() local
45684 zend_string *varname; in ZEND_BIND_GLOBAL_SPEC_CV_CONST_HANDLER() local
49756 zval *varname; in zend_fetch_var_address_helper_SPEC_CV_UNUSED() local
50959 zval *varname; in ZEND_UNSET_VAR_SPEC_CV_UNUSED_HANDLER() local
[all …]
H A Dzend_execute.c3580 zval *varname = get_zval_ptr_undef(opline->op1_type, opline->op1, BP_VAR_R); in zend_fetch_static_property_address_ex() local
3581 if (EXPECTED(Z_TYPE_P(varname) == IS_STRING)) { in zend_fetch_static_property_address_ex()
3582 name = Z_STR_P(varname); in zend_fetch_static_property_address_ex()
3585 if (op1_type == IS_CV && UNEXPECTED(Z_TYPE_P(varname) == IS_UNDEF)) { in zend_fetch_static_property_address_ex()
3588 name = zval_get_tmp_string(varname, &tmp_name); in zend_fetch_static_property_address_ex()
/php-src/ext/opcache/jit/ir/dynasm/
H A Dminilua.c315 TString*varname; member
1864 if(f->locvars[i].varname)
1865 stringmark(f->locvars[i].varname);
3737 f->locvars[fs->nlocvars].varname=varname;
3738 luaC_objbarrier(ls->L,f,varname);
3781 if(n==getlocvar(fs,i).varname)
3814 TString*varname=str_checkname(ls);
4466 new_localvar(ls,varname,3);
4499 TString*varname;
4503 varname=str_checkname(ls);
[all …]
/php-src/ext/opcache/jit/
H A Dzend_jit_helpers.c1852 static zend_reference* ZEND_FASTCALL zend_jit_fetch_global_helper(zend_string *varname, void **cach… in zend_jit_fetch_global_helper() argument
1863 if (EXPECTED(p->key == varname) || in zend_jit_fetch_global_helper()
1864 (EXPECTED(p->h == ZSTR_H(varname)) && in zend_jit_fetch_global_helper()
1866 EXPECTED(zend_string_equal_content(p->key, varname)))) { in zend_jit_fetch_global_helper()
1873 value = zend_hash_find_known_hash(&EG(symbol_table), varname); in zend_jit_fetch_global_helper()
1875 value = zend_hash_add_new(&EG(symbol_table), varname, &EG(uninitialized_zval)); in zend_jit_fetch_global_helper()
H A Dzend_jit_ir.c11340 zend_string *varname = Z_STR_P(RT_CONSTANT(opline, opline->op2)); local
11368 … ir_IF(ir_EQ(ir_LOAD_A(ir_ADD_OFFSET(bucket_ref, offsetof(Bucket, key))), ir_CONST_ADDR(varname)));
11381 ir_CONST_ADDR(varname),
/php-src/win32/build/
H A Dconfutils.js1177 var varname = "PHP_" + mod.toUpperCase() + "_PGO";
1185 if (eval("typeof " + varname + " == 'undefined'")) {
1189 return eval("!!" + varname);
/php-src/ext/openssl/
H A Dopenssl.c914 #define SET_OPTIONAL_STRING_ARG(key, varname, defval) \ argument
917 varname = Z_STRVAL_P(item); \
919 varname = defval; \
920 if (varname == NULL) { \
926 #define SET_OPTIONAL_LONG_ARG(key, varname, defval) \ argument
928 varname = (int)Z_LVAL_P(item); \
930 varname = defval
/php-src/ext/session/
H A Dsession.c2622 static zend_result php_session_start_set_ini(zend_string *varname, zend_string *new_value) { in php_session_start_set_ini() argument
2627 smart_str_append(&buf, varname); in php_session_start_set_ini()
/php-src/build/
H A Dphp.m472 dnl PHP_SUBST(varname)
82 dnl PHP_SUBST_OLD(varname, [VALUE])

Completed in 296 milliseconds