Home
last modified time | relevance | path

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

/PHP-8.4/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.4/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.4/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.4/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.php297 function filter_has_var(int $input_type, string $var_name): bool {} argument
299 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.4/ext/standard/
H A Darray.c1862 if (!var_name) {
1908 if (!var_name) {
1952 if (!var_name) {
2002 if (!var_name) {
2047 if (!var_name) {
2106 if (!var_name) {
2160 if (!var_name) {
2304 if (var_name) {
2351 if (var_name) {
2398 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.php1647 * @param array|string $var_name
1652 function compact($var_name, ...$var_names): array {} argument
H A Dbasic_functions_arginfo.h168 ZEND_ARG_INFO(0, var_name)
/PHP-8.4/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.4/main/
H A Dphp_variables.c64 ZEND_ASSERT(var_name != NULL); in php_register_known_variable()
77 ZEND_ASSERT(!ZEND_HANDLE_NUMERIC_STR(var_name, var_name_len, idx)); in php_register_known_variable()
79 const char *p = var_name; in php_register_known_variable()
90 php_register_variable_quick(var_name, var_name_len, value, symbol_table); in php_register_known_variable()
120 assert(var_name != NULL); in php_register_variable_ex()
134 while (*var_name==' ') { in php_register_variable_ex()
135 var_name++; in php_register_variable_ex()
141 var_len = strlen(var_name); in php_register_variable_ex()
143 memcpy(var_orig, var_name, var_len + 1); in php_register_variable_ex()
261 if (php_is_forbidden_variable_name(index, index_len, var_name)) { in php_register_variable_ex()
[all …]
/PHP-8.4/ext/readline/
H A Dreadline.stub.php14 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.4/Zend/
H A Dzend_closures.h32 void zend_closure_bind_var(zval *closure_zv, zend_string *var_name, zval *var);
H A Dzend_compile.c5481 opline->op1.var = lookup_cv(var_name); in zend_compile_static_var_common()
5524 opline->op1.var = lookup_cv(var_name); in zend_compile_static_var()
5532 opline->op1.var = lookup_cv(var_name); in zend_compile_static_var()
6691 if (var_name && zend_string_equals(var_name, ZSTR_KNOWN(ZEND_STR_THIS))) { in zend_compile_try()
6696 opline->result.var = var_name ? lookup_cv(var_name) : -1; in zend_compile_try()
7870 if (zend_is_auto_global(var_name)) { in zend_compile_closure_binding()
7877 "Cannot use variable $%S twice", var_name); in zend_compile_closure_binding()
7884 opline->op2.var = lookup_cv(var_name); in zend_compile_closure_binding()
7968 zend_string *var_name; in compile_implicit_lexical_binds() local
7987 opline->op2.var = lookup_cv(var_name); in compile_implicit_lexical_binds()
[all …]
H A Dzend_closures.c900 void zend_closure_bind_var(zval *closure_zv, zend_string *var_name, zval *var) /* {{{ */ in zend_closure_bind_var() argument
904 zend_hash_update(static_variables, var_name, var); in zend_closure_bind_var()
/PHP-8.4/ext/session/
H A Dsession.c238 zend_string *var_name = ZSTR_INIT_LITERAL("_SESSION", 0); in php_session_track_init() local
240 zend_delete_global_variable(var_name); in php_session_track_init()
249 zend_hash_update_ind(&EG(symbol_table), var_name, &PS(http_session_vars)); in php_session_track_init()
250 zend_string_release_ex(var_name, 0); in php_session_track_init()
960 zend_string *var_name = ZSTR_INIT_LITERAL("_SESSION", 0); in PS_SERIALIZER_DECODE_FUNC() local
980 zend_hash_update_ind(&EG(symbol_table), var_name, &PS(http_session_vars)); in PS_SERIALIZER_DECODE_FUNC()
981 zend_string_release_ex(var_name, 0); in PS_SERIALIZER_DECODE_FUNC()
/PHP-8.4/sapi/cli/
H A Dphp_cli_server.c626 const char *var_name, size_t var_name_len, const char *value, size_t value_len) in sapi_cli_server_register_known_var_char() argument
636 php_register_known_variable(var_name, var_name_len, &new_entry, track_vars_array); in sapi_cli_server_register_known_var_char()
640 const char *var_name, size_t var_name_len, /* const */ zend_string *value) in sapi_cli_server_register_known_var_str() argument
650 php_register_known_variable(var_name, var_name_len, &new_entry, track_vars_array); in sapi_cli_server_register_known_var_str()
/PHP-8.4/ext/ffi/
H A Dffi.c2500 static zval *zend_ffi_read_var(zend_object *obj, zend_string *var_name, int read_type, void **cache… in zend_ffi_read_var() argument
2506 sym = zend_hash_find_ptr(ffi->symbols, var_name); in zend_ffi_read_var()
2512 …hrow_error(zend_ffi_exception_ce, "Attempt to read undefined C variable '%s'", ZSTR_VAL(var_name)); in zend_ffi_read_var()
2543 static zval *zend_ffi_write_var(zend_object *obj, zend_string *var_name, zval *value, void **cache_… in zend_ffi_write_var() argument
2549 sym = zend_hash_find_ptr(ffi->symbols, var_name); in zend_ffi_write_var()
2555 …ow_error(zend_ffi_exception_ce, "Attempt to assign undefined C variable '%s'", ZSTR_VAL(var_name)); in zend_ffi_write_var()
2560 …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 135 milliseconds