/PHP-8.1/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.1/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.1/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.1/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 | 5 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 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.1/ext/standard/ |
H A D | array.c | 1713 if (!var_name) { 1756 if (!var_name) { 1797 if (!var_name) { 1844 if (!var_name) { 1886 if (!var_name) { 1942 if (!var_name) { 1993 if (!var_name) { 2134 if (var_name) { 2181 if (var_name) { 2228 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 | 147 * @param array|string $var_name 152 function compact($var_name, ...$var_names): array {} argument
|
H A D | basic_functions_arginfo.h | 168 ZEND_ARG_INFO(0, var_name)
|
/PHP-8.1/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.1/ext/readline/ |
H A D | readline.stub.php | 8 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.1/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 | 4812 if (zend_string_equals_literal(var_name, "this")) { in zend_compile_static_var_common() 4818 opline->op1.var = lookup_cv(var_name); in zend_compile_static_var_common() 5986 if (var_name && zend_string_equals_literal(var_name, "this")) { in zend_compile_try() 5991 opline->result.var = var_name ? lookup_cv(var_name) : -1; in zend_compile_try() 6923 if (zend_is_auto_global(var_name)) { in zend_compile_closure_binding() 6937 opline->op2.var = lookup_cv(var_name); in zend_compile_closure_binding() 7021 zend_string *var_name; in compile_implicit_lexical_binds() local 7033 ZEND_HASH_FOREACH_STR_KEY(&info->uses, var_name) in compile_implicit_lexical_binds() 7040 opline->op2.var = lookup_cv(var_name); in compile_implicit_lexical_binds() 7081 zend_string *var_name; in zend_compile_implicit_closure_uses() local [all …]
|
H A D | zend_closures.c | 837 void zend_closure_bind_var(zval *closure_zv, zend_string *var_name, zval *var) /* {{{ */ in zend_closure_bind_var() argument 841 zend_hash_update(static_variables, var_name, var); in zend_closure_bind_var()
|
/PHP-8.1/main/ |
H A D | php_variables.c | 72 PHPAPI void php_register_variable_ex(const char *var_name, zval *val, zval *track_vars_array) in php_register_variable_ex() argument 84 assert(var_name != NULL); in php_register_variable_ex() 98 while (*var_name==' ') { in php_register_variable_ex() 99 var_name++; in php_register_variable_ex() 105 var_len = strlen(var_name); in php_register_variable_ex() 107 memcpy(var_orig, var_name, var_len + 1); in php_register_variable_ex() 225 if (php_is_forbidden_variable_name(index, index_len, var_name)) { in php_register_variable_ex() 268 if (php_is_forbidden_variable_name(index, index_len, var_name)) { in php_register_variable_ex()
|
/PHP-8.1/ext/session/ |
H A D | session.c | 214 zend_string *var_name = zend_string_init("_SESSION", sizeof("_SESSION") - 1, 0); in php_session_track_init() local 216 zend_delete_global_variable(var_name); in php_session_track_init() 225 zend_hash_update_ind(&EG(symbol_table), var_name, &PS(http_session_vars)); in php_session_track_init() 226 zend_string_release_ex(var_name, 0); in php_session_track_init() 859 zend_string *var_name = zend_string_init("_SESSION", sizeof("_SESSION") - 1, 0); in PS_SERIALIZER_DECODE_FUNC() local 879 zend_hash_update_ind(&EG(symbol_table), var_name, &PS(http_session_vars)); in PS_SERIALIZER_DECODE_FUNC() 880 zend_string_release_ex(var_name, 0); in PS_SERIALIZER_DECODE_FUNC()
|
/PHP-8.1/ext/ffi/ |
H A D | ffi.c | 2415 static zval *zend_ffi_read_var(zend_object *obj, zend_string *var_name, int read_type, void **cache… in zend_ffi_read_var() argument 2421 sym = zend_hash_find_ptr(ffi->symbols, var_name); in zend_ffi_read_var() 2427 …hrow_error(zend_ffi_exception_ce, "Attempt to read undefined C variable '%s'", ZSTR_VAL(var_name)); in zend_ffi_read_var() 2459 static zval *zend_ffi_write_var(zend_object *obj, zend_string *var_name, zval *value, void **cache_… in zend_ffi_write_var() argument 2465 sym = zend_hash_find_ptr(ffi->symbols, var_name); in zend_ffi_write_var() 2471 …ow_error(zend_ffi_exception_ce, "Attempt to assign undefined C variable '%s'", ZSTR_VAL(var_name)); in zend_ffi_write_var() 2476 …ow_error(zend_ffi_exception_ce, "Attempt to assign read-only C variable '%s'", ZSTR_VAL(var_name)); in zend_ffi_write_var()
|