Home
last modified time | relevance | path

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

/PHP-5.6/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-5.6/ext/filter/tests/
H A D039.phpt29 var_dump(filter_var_array(array(), array("var_name"=>1)));
30 var_dump(filter_var_array(array(), array("var_name"=>-1)));
31 var_dump(filter_var_array(array("var_name"=>""), array("var_name"=>-1)));
34 var_dump(filter_var_array(array("var_name"=>""), array("var_name"=>-1, "asdas"=>"asdasd", "qwe"=>"r…
35 var_dump(filter_var_array(array("asdas"=>"text"), array("var_name"=>-1, "asdas"=>"asdasd", "qwe"=>"…
81 ["var_name"]=>
85 ["var_name"]=>
89 ["var_name"]=>
/PHP-5.6/Zend/tests/
H A Disset_001.phpt8 $var_name = 'unexisting';
10 if (isset($$var_name)) {
14 $test = 'var_name';
22 unset($$var_name);
/PHP-5.6/ext/filter/
H A Dlogical_filters.c39 #define FETCH_LONG_OPTION(var_name, option_name) … argument
40var_name = 0; …
41var_name##_set = 0; …
44 PHP_FILTER_GET_LONG_OPT(option_val, var_name); \
45var_name##_set = 1; …
52var_name = NULL; …
53var_name##_set = 0; …
54var_name##_len = 0; …
58var_name = Z_STRVAL_PP(option_val); …
59var_name##_len = Z_STRLEN_PP(option_val); …
[all …]
/PHP-5.6/ext/standard/tests/file/
H A Dstat_variation7-win32.phpt35 public $var_name;
37 $this->var_name = $name;
50 var_dump( stat($obj3->var_name) );
54 var_dump( stat($obj4->var_name) );
57 var_dump( stat($obj1->var_name) );
60 var_dump( stat($obj2->var_name) );
H A Dlstat_stat_variation18.phpt32 public $var_name;
34 $this->var_name = $name;
46 var_dump( stat($file_name->var_name) );
50 var_dump( stat($dir_name->var_name) );
H A Dlstat_stat_variation20.phpt31 public $var_name;
33 $this->var_name = $name;
48 var_dump( lstat($link_object->var_name) );
/PHP-5.6/main/
H A Dphp_variables.c59 PHPAPI void php_register_variable_ex(char *var_name, zval *val, zval *track_vars_array TSRMLS_DC) in php_register_variable_ex() argument
71 assert(var_name != NULL); in php_register_variable_ex()
85 while (*var_name && *var_name==' ') { in php_register_variable_ex()
86 var_name++; in php_register_variable_ex()
92 var_len = strlen(var_name); in php_register_variable_ex()
94 memcpy(var_orig, var_name, var_len + 1); in php_register_variable_ex()
/PHP-5.6/ext/standard/
H A Darray.c1232 if (!var_name || !var_name_len) { in php_valid_var_name()
1237 ch = (int)((unsigned char *)var_name)[0]; in php_valid_var_name()
1238 if (var_name[0] != '_' && in php_valid_var_name()
1249 ch = (int)((unsigned char *)var_name)[i]; in php_valid_var_name()
1250 if (var_name[i] != '_' && in php_valid_var_name()
1288 char *var_name; in PHP_FUNCTION() local
1368 ZVAL_STRINGL(&final_name, var_name, var_name_len, 1); in PHP_FUNCTION()
1379 ZVAL_STRINGL(&final_name, var_name, var_name_len, 1); in PHP_FUNCTION()
1391 if (!php_valid_var_name(var_name, var_name_len)) { in PHP_FUNCTION()
1394 ZVAL_STRINGL(&final_name, var_name, var_name_len, 1); in PHP_FUNCTION()
[all …]
H A Dbasic_functions.h148 PHPAPI int php_prefix_varname(zval *result, zval *prefix, char *var_name, int var_name_len, zend_bo…
/PHP-5.6/Zend/
H A Dzend_compile.h581 void zend_do_declare_property(const znode *var_name, const znode *value, zend_uint access_type TSRM…
582 void zend_do_declare_class_constant(znode *var_name, const znode *value TSRMLS_DC);
H A Dzend_compile.c5441 void zend_do_declare_property(const znode *var_name, const znode *value, zend_uint access_type TSRM… in zend_do_declare_property() argument
5458 CG(active_class_entry)->name, Z_STRVAL(var_name->u.constant)); in zend_do_declare_property()
5461 …find(&CG(active_class_entry)->properties_info, Z_STRVAL(var_name->u.constant), Z_STRLEN(var_name->… in zend_do_declare_property()
5462 …E_ERROR, "Cannot redeclare %s::$%s", CG(active_class_entry)->name, Z_STRVAL(var_name->u.constant)); in zend_do_declare_property()
5480 …d_new_interned_string(Z_STRVAL(var_name->u.constant), Z_STRLEN(var_name->u.constant) + 1, 0 TSRMLS… in zend_do_declare_property()
5481 efree(Z_STRVAL(var_name->u.constant)); in zend_do_declare_property()
5485 void zend_do_declare_class_constant(znode *var_name, const znode *value TSRMLS_DC) /* {{{ */ in zend_do_declare_class_constant() argument
5499 …cname = zend_new_interned_string(Z_STRVAL(var_name->u.constant), Z_STRLEN(var_name->u.constant)+1,… in zend_do_declare_class_constant()
5500 hash = str_hash(cname, Z_STRLEN(var_name->u.constant)); in zend_do_declare_class_constant()
5503 …not redefine class constant %s::%s", CG(active_class_entry)->name, Z_STRVAL(var_name->u.constant)); in zend_do_declare_class_constant()
[all …]

Completed in 55 milliseconds