/php-src/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-src/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-src/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-src/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-src/ext/standard/ |
H A D | array.c | 1864 if (!var_name) { 1910 if (!var_name) { 1954 if (!var_name) { 2004 if (!var_name) { 2049 if (!var_name) { 2108 if (!var_name) { 2162 if (!var_name) { 2306 if (var_name) { 2353 if (var_name) { 2400 if (var_name) { [all …]
|
H A D | basic_functions.h | 52 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 | 1647 * @param array|string $var_name 1652 function compact($var_name, ...$var_names): array {} argument
|
H A D | basic_functions_arginfo.h | 168 ZEND_ARG_INFO(0, var_name)
|
/php-src/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-src/main/ |
H A D | php_variables.c | 64 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-src/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-src/Zend/ |
H A D | zend_closures.h | 32 void zend_closure_bind_var(zval *closure_zv, zend_string *var_name, zval *var);
|
H A D | zend_compile.c | 5477 opline->op1.var = lookup_cv(var_name); in zend_compile_static_var_common() 5520 opline->op1.var = lookup_cv(var_name); in zend_compile_static_var() 5528 opline->op1.var = lookup_cv(var_name); in zend_compile_static_var() 6687 if (var_name && zend_string_equals(var_name, ZSTR_KNOWN(ZEND_STR_THIS))) { in zend_compile_try() 6692 opline->result.var = var_name ? lookup_cv(var_name) : -1; in zend_compile_try() 7866 if (zend_is_auto_global(var_name)) { in zend_compile_closure_binding() 7873 "Cannot use variable $%S twice", var_name); in zend_compile_closure_binding() 7880 opline->op2.var = lookup_cv(var_name); in zend_compile_closure_binding() 7964 zend_string *var_name; in compile_implicit_lexical_binds() local 7983 opline->op2.var = lookup_cv(var_name); in compile_implicit_lexical_binds() [all …]
|
H A D | zend_closures.c | 900 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-src/ext/session/ |
H A D | session.c | 261 zend_string *var_name = ZSTR_INIT_LITERAL("_SESSION", 0); in php_session_track_init() local 263 zend_delete_global_variable(var_name); in php_session_track_init() 272 zend_hash_update_ind(&EG(symbol_table), var_name, &PS(http_session_vars)); in php_session_track_init() 273 zend_string_release_ex(var_name, 0); in php_session_track_init() 983 zend_string *var_name = ZSTR_INIT_LITERAL("_SESSION", 0); in PS_SERIALIZER_DECODE_FUNC() local 1003 zend_hash_update_ind(&EG(symbol_table), var_name, &PS(http_session_vars)); in PS_SERIALIZER_DECODE_FUNC() 1004 zend_string_release_ex(var_name, 0); in PS_SERIALIZER_DECODE_FUNC()
|
/php-src/sapi/cli/ |
H A D | php_cli_server.c | 626 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-src/ext/ffi/ |
H A D | ffi.c | 2478 static zval *zend_ffi_read_var(zend_object *obj, zend_string *var_name, int read_type, void **cache… in zend_ffi_read_var() argument 2484 sym = zend_hash_find_ptr(ffi->symbols, var_name); in zend_ffi_read_var() 2490 …hrow_error(zend_ffi_exception_ce, "Attempt to read undefined C variable '%s'", ZSTR_VAL(var_name)); in zend_ffi_read_var() 2521 static zval *zend_ffi_write_var(zend_object *obj, zend_string *var_name, zval *value, void **cache_… in zend_ffi_write_var() argument 2527 sym = zend_hash_find_ptr(ffi->symbols, var_name); in zend_ffi_write_var() 2533 …ow_error(zend_ffi_exception_ce, "Attempt to assign undefined C variable '%s'", ZSTR_VAL(var_name)); in zend_ffi_write_var() 2538 …ow_error(zend_ffi_exception_ce, "Attempt to assign read-only C variable '%s'", ZSTR_VAL(var_name)); in zend_ffi_write_var()
|