Home
last modified time | relevance | path

Searched refs:var_name (Results 1 – 21 of 21) sorted by relevance

/PHP-8.0/ext/standard/tests/general_functions/
H A Dputenv.phpt6 $var_name="SUCHVARSHOULDNOTEXIST";
8 var_dump(getenv($var_name));
9 var_dump(putenv($var_name."=value"));
10 var_dump(getenv($var_name));
12 var_dump(putenv($var_name."="));
13 var_dump(getenv($var_name));
15 var_dump(putenv($var_name));
16 var_dump(getenv($var_name));
/PHP-8.0/Zend/tests/
H A Disset_001.phpt8 $var_name = 'unexisting';
10 if (isset($$var_name)) {
14 $test = 'var_name';
22 unset($$var_name);
/PHP-8.0/ext/filter/tests/
H A D039.phpt49 var_dump(filter_var_array(array(), array("var_name"=>1)));
50 var_dump(filter_var_array(array(), array("var_name"=>-1)));
51 var_dump(filter_var_array(array("var_name"=>""), array("var_name"=>-1)));
55 …filter_var_array(array("var_name"=>""), array("var_name"=>-1, "asdas"=>"asdasd", "qwe"=>"rty", ""=…
60 …filter_var_array(array("asdas"=>"text"), array("var_name"=>-1, "asdas"=>"asdasd", "qwe"=>"rty", ""…
121 ["var_name"]=>
125 ["var_name"]=>
129 ["var_name"]=>
/PHP-8.0/ext/filter/
H A Dlogical_filters.c37 var_name = 0; \
38 var_name##_set = 0; \
42 var_name##_set = 1; \
49 var_name = 0; \
50 var_name##_set = 0; \
54 var_name##_set = 1; \
61 var_name = NULL; \
62 var_name##_set = 0; \
63 var_name##_len = 0; \
77 var_name = NULL; \
[all …]
H A Dfilter.stub.php5 function filter_has_var(int $input_type, string $var_name): bool {} argument
7 function filter_input(int $type, string $var_name, int $filter = FILTER_DEFAULT, array|int $options… argument
H A Dfilter_arginfo.h6 ZEND_ARG_TYPE_INFO(0, var_name, IS_STRING, 0)
11 ZEND_ARG_TYPE_INFO(0, var_name, IS_STRING, 0)
/PHP-8.0/ext/standard/
H A Darray.c1727 if (!var_name) {
1770 if (!var_name) {
1811 if (!var_name) {
1858 if (!var_name) {
1900 if (!var_name) {
1956 if (!var_name) {
2007 if (!var_name) {
2148 if (var_name) {
2195 if (var_name) {
2242 if (var_name) {
[all …]
H A Dbasic_functions.h52 PHPAPI int php_prefix_varname(zval *result, zend_string *prefix, const char *var_name, size_t var_n…
H A Dbasic_functions.stub.php119 * @param array|string $var_name
122 function compact($var_name, ...$var_names): array {} argument
H A Dbasic_functions_arginfo.h168 ZEND_ARG_INFO(0, var_name)
/PHP-8.0/ext/standard/tests/file/
H A Dstat_variation7-win32.phpt30 public $var_name;
32 $this->var_name = $name;
45 var_dump( stat($obj3->var_name) );
49 var_dump( stat($obj4->var_name) );
52 var_dump( stat($obj1->var_name) );
55 var_dump( stat($obj2->var_name) );
H A Dlstat_stat_variation18.phpt19 public $var_name;
21 $this->var_name = $name;
33 var_dump( stat($file_name->var_name) );
37 var_dump( stat($dir_name->var_name) );
H A Dlstat_stat_variation20.phpt25 public $var_name;
27 $this->var_name = $name;
42 var_dump( lstat($link_object->var_name) );
/PHP-8.0/ext/readline/
H A Dreadline.stub.php11 function readline_info(?string $var_name = null, $value = null): mixed {} argument
H A Dreadline_arginfo.h9 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, var_name, IS_STRING, 1, "null")
/PHP-8.0/Zend/
H A Dzend_closures.h30 void zend_closure_bind_var(zval *closure_zv, zend_string *var_name, zval *var);
H A Dzend_compile.c4609 if (zend_string_equals_literal(var_name, "this")) { in zend_compile_static_var_common()
4615 opline->op1.var = lookup_cv(var_name); in zend_compile_static_var_common()
5768 if (var_name && zend_string_equals_literal(var_name, "this")) { in zend_compile_try()
5773 opline->result.var = var_name ? lookup_cv(var_name) : -1; in zend_compile_try()
6601 if (zend_is_auto_global(var_name)) { in zend_compile_closure_binding()
6615 opline->op2.var = lookup_cv(var_name); in zend_compile_closure_binding()
6699 zend_string *var_name; in compile_implicit_lexical_binds() local
6711 ZEND_HASH_FOREACH_STR_KEY(&info->uses, var_name) in compile_implicit_lexical_binds()
6718 opline->op2.var = lookup_cv(var_name); in compile_implicit_lexical_binds()
6754 zend_string *var_name; in zend_compile_implicit_closure_uses() local
[all …]
H A Dzend_closures.c790 void zend_closure_bind_var(zval *closure_zv, zend_string *var_name, zval *var) /* {{{ */ in zend_closure_bind_var() argument
794 zend_hash_update(static_variables, var_name, var); in zend_closure_bind_var()
/PHP-8.0/main/
H A Dphp_variables.c57 PHPAPI void php_register_variable_ex(const char *var_name, zval *val, zval *track_vars_array) in php_register_variable_ex() argument
69 assert(var_name != NULL); in php_register_variable_ex()
83 while (*var_name==' ') { in php_register_variable_ex()
84 var_name++; in php_register_variable_ex()
90 var_len = strlen(var_name); in php_register_variable_ex()
92 memcpy(var_orig, var_name, var_len + 1); in php_register_variable_ex()
108 …if (strncmp(var, "__Host-", sizeof("__Host-")-1) == 0 && strncmp(var_name, "__Host-", sizeof("__Ho… in php_register_variable_ex()
115 …if (strncmp(var, "__Secure-", sizeof("__Secure-")-1) == 0 && strncmp(var_name, "__Secure-", sizeof… in php_register_variable_ex()
/PHP-8.0/ext/session/
H A Dsession.c212 zend_string *var_name = zend_string_init("_SESSION", sizeof("_SESSION") - 1, 0); in php_session_track_init() local
214 zend_delete_global_variable(var_name); in php_session_track_init()
223 zend_hash_update_ind(&EG(symbol_table), var_name, &PS(http_session_vars)); in php_session_track_init()
224 zend_string_release_ex(var_name, 0); in php_session_track_init()
858 zend_string *var_name = zend_string_init("_SESSION", sizeof("_SESSION") - 1, 0); in PS_SERIALIZER_DECODE_FUNC() local
878 zend_hash_update_ind(&EG(symbol_table), var_name, &PS(http_session_vars)); in PS_SERIALIZER_DECODE_FUNC()
879 zend_string_release_ex(var_name, 0); in PS_SERIALIZER_DECODE_FUNC()
/PHP-8.0/ext/ffi/
H A Dffi.c2394 static zval *zend_ffi_read_var(zend_object *obj, zend_string *var_name, int read_type, void **cache… in zend_ffi_read_var() argument
2400 sym = zend_hash_find_ptr(ffi->symbols, var_name); in zend_ffi_read_var()
2406 …hrow_error(zend_ffi_exception_ce, "Attempt to read undefined C variable '%s'", ZSTR_VAL(var_name)); in zend_ffi_read_var()
2438 static zval *zend_ffi_write_var(zend_object *obj, zend_string *var_name, zval *value, void **cache_… in zend_ffi_write_var() argument
2444 sym = zend_hash_find_ptr(ffi->symbols, var_name); in zend_ffi_write_var()
2450 …ow_error(zend_ffi_exception_ce, "Attempt to assign undefined C variable '%s'", ZSTR_VAL(var_name)); in zend_ffi_write_var()
2455 …ow_error(zend_ffi_exception_ce, "Attempt to assign read-only C variable '%s'", ZSTR_VAL(var_name)); in zend_ffi_write_var()

Completed in 122 milliseconds