/PHP-8.2/ext/standard/tests/general_functions/ |
H A D | putenv.phpt | 6 $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.2/Zend/tests/ |
H A D | isset_001.phpt | 8 $var_name = 'unexisting'; 10 if (isset($$var_name)) { 14 $test = 'var_name'; 22 unset($$var_name);
|
/PHP-8.2/ext/filter/tests/ |
H A D | 039.phpt | 49 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.2/ext/filter/ |
H A D | logical_filters.c | 37 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 D | filter.stub.php | 297 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 D | filter_arginfo.h | 6 ZEND_ARG_TYPE_INFO(0, var_name, IS_STRING, 0) 11 ZEND_ARG_TYPE_INFO(0, var_name, IS_STRING, 0)
|
/PHP-8.2/ext/standard/ |
H A D | array.c | 1669 if (!var_name) { 1715 if (!var_name) { 1759 if (!var_name) { 1809 if (!var_name) { 1854 if (!var_name) { 1913 if (!var_name) { 1967 if (!var_name) { 2111 if (var_name) { 2158 if (var_name) { 2205 if (var_name) { [all …]
|
H A D | basic_functions.h | 55 PHPAPI int php_prefix_varname(zval *result, zend_string *prefix, const char *var_name, size_t var_n…
|
H A D | basic_functions.stub.php | 973 * @param array|string $var_name 978 function compact($var_name, ...$var_names): array {} argument
|
H A D | basic_functions_arginfo.h | 171 ZEND_ARG_INFO(0, var_name)
|
/PHP-8.2/ext/standard/tests/file/ |
H A D | stat_variation7-win32.phpt | 30 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 D | lstat_stat_variation18.phpt | 19 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 D | lstat_stat_variation20.phpt | 25 public $var_name; 27 $this->var_name = $name; 42 var_dump( lstat($link_object->var_name) );
|
/PHP-8.2/main/ |
H A D | php_variables.c | 63 ZEND_ASSERT(var_name != NULL); in php_register_known_variable() 76 ZEND_ASSERT(!ZEND_HANDLE_NUMERIC_STR(var_name, var_name_len, idx)); in php_register_known_variable() 78 const char *p = var_name; in php_register_known_variable() 89 php_register_variable_quick(var_name, var_name_len, value, symbol_table); in php_register_known_variable() 119 assert(var_name != NULL); in php_register_variable_ex() 133 while (*var_name==' ') { in php_register_variable_ex() 134 var_name++; in php_register_variable_ex() 140 var_len = strlen(var_name); in php_register_variable_ex() 142 memcpy(var_orig, var_name, var_len + 1); in php_register_variable_ex() 260 if (php_is_forbidden_variable_name(index, index_len, var_name)) { in php_register_variable_ex() [all …]
|
/PHP-8.2/ext/readline/ |
H A D | readline.stub.php | 14 function readline_info(?string $var_name = null, $value = null): mixed {} argument
|
H A D | readline_arginfo.h | 9 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, var_name, IS_STRING, 1, "null")
|
/PHP-8.2/Zend/ |
H A D | zend_closures.h | 30 void zend_closure_bind_var(zval *closure_zv, zend_string *var_name, zval *var);
|
H A D | zend_compile.c | 4849 if (zend_string_equals_literal(var_name, "this")) { in zend_compile_static_var_common() 4855 opline->op1.var = lookup_cv(var_name); in zend_compile_static_var_common() 6027 if (var_name && zend_string_equals_literal(var_name, "this")) { in zend_compile_try() 6032 opline->result.var = var_name ? lookup_cv(var_name) : -1; in zend_compile_try() 7090 if (zend_string_equals_literal(var_name, "this")) { in zend_compile_closure_binding() 7094 if (zend_is_auto_global(var_name)) { in zend_compile_closure_binding() 7108 opline->op2.var = lookup_cv(var_name); in zend_compile_closure_binding() 7192 zend_string *var_name; in compile_implicit_lexical_binds() local 7211 opline->op2.var = lookup_cv(var_name); in compile_implicit_lexical_binds() 7225 zend_string *var_name = zend_ast_get_str(var_ast); in zend_compile_closure_uses() local [all …]
|
H A D | zend_closures.c | 870 void zend_closure_bind_var(zval *closure_zv, zend_string *var_name, zval *var) /* {{{ */ in zend_closure_bind_var() argument 874 zend_hash_update(static_variables, var_name, var); in zend_closure_bind_var()
|
/PHP-8.2/ext/session/ |
H A D | session.c | 219 zend_string *var_name = zend_string_init("_SESSION", sizeof("_SESSION") - 1, 0); in php_session_track_init() local 221 zend_delete_global_variable(var_name); in php_session_track_init() 230 zend_hash_update_ind(&EG(symbol_table), var_name, &PS(http_session_vars)); in php_session_track_init() 231 zend_string_release_ex(var_name, 0); in php_session_track_init() 868 zend_string *var_name = zend_string_init("_SESSION", sizeof("_SESSION") - 1, 0); in PS_SERIALIZER_DECODE_FUNC() local 888 zend_hash_update_ind(&EG(symbol_table), var_name, &PS(http_session_vars)); in PS_SERIALIZER_DECODE_FUNC() 889 zend_string_release_ex(var_name, 0); in PS_SERIALIZER_DECODE_FUNC()
|
/PHP-8.2/sapi/cli/ |
H A D | php_cli_server.c | 617 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 627 php_register_known_variable(var_name, var_name_len, &new_entry, track_vars_array); in sapi_cli_server_register_known_var_char() 631 const char *var_name, size_t var_name_len, /* const */ zend_string *value) in sapi_cli_server_register_known_var_str() argument 641 php_register_known_variable(var_name, var_name_len, &new_entry, track_vars_array); in sapi_cli_server_register_known_var_str()
|
/PHP-8.2/ext/ffi/ |
H A D | ffi.c | 2466 static zval *zend_ffi_read_var(zend_object *obj, zend_string *var_name, int read_type, void **cache… in zend_ffi_read_var() argument 2472 sym = zend_hash_find_ptr(ffi->symbols, var_name); in zend_ffi_read_var() 2478 …hrow_error(zend_ffi_exception_ce, "Attempt to read undefined C variable '%s'", ZSTR_VAL(var_name)); in zend_ffi_read_var() 2510 static zval *zend_ffi_write_var(zend_object *obj, zend_string *var_name, zval *value, void **cache_… in zend_ffi_write_var() argument 2516 sym = zend_hash_find_ptr(ffi->symbols, var_name); in zend_ffi_write_var() 2522 …ow_error(zend_ffi_exception_ce, "Attempt to assign undefined C variable '%s'", ZSTR_VAL(var_name)); in zend_ffi_write_var() 2527 …ow_error(zend_ffi_exception_ce, "Attempt to assign read-only C variable '%s'", ZSTR_VAL(var_name)); in zend_ffi_write_var()
|