Home
last modified time | relevance | path

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

/PHP-5.5/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.5/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.5/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.5/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.5/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.5/main/
H A Dphp_variables.c55 PHPAPI void php_register_variable_ex(char *var_name, zval *val, zval *track_vars_array TSRMLS_DC) in php_register_variable_ex() argument
67 assert(var_name != NULL); in php_register_variable_ex()
81 while (*var_name && *var_name==' ') { in php_register_variable_ex()
82 var_name++; in php_register_variable_ex()
88 var_len = strlen(var_name); in php_register_variable_ex()
90 memcpy(var_orig, var_name, var_len + 1); in php_register_variable_ex()
/PHP-5.5/ext/standard/
H A Darray.c1231 if (!var_name || !var_name_len) { in php_valid_var_name()
1236 ch = (int)((unsigned char *)var_name)[0]; in php_valid_var_name()
1237 if (var_name[0] != '_' && in php_valid_var_name()
1248 ch = (int)((unsigned char *)var_name)[i]; in php_valid_var_name()
1249 if (var_name[i] != '_' && in php_valid_var_name()
1287 char *var_name; in PHP_FUNCTION() local
1367 ZVAL_STRINGL(&final_name, var_name, var_name_len, 1); in PHP_FUNCTION()
1378 ZVAL_STRINGL(&final_name, var_name, var_name_len, 1); in PHP_FUNCTION()
1390 if (!php_valid_var_name(var_name, var_name_len)) { in PHP_FUNCTION()
1393 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.5/Zend/
H A Dzend_compile.h565 void zend_do_declare_property(const znode *var_name, const znode *value, zend_uint access_type TSRM…
566 void zend_do_declare_class_constant(znode *var_name, const znode *value TSRMLS_DC);
H A Dzend_compile.c5298 void zend_do_declare_property(const znode *var_name, const znode *value, zend_uint access_type TSRM… in zend_do_declare_property() argument
5315 CG(active_class_entry)->name, var_name->u.constant.value.str.val); in zend_do_declare_property()
5318 …d_hash_find(&CG(active_class_entry)->properties_info, var_name->u.constant.value.str.val, var_name in zend_do_declare_property()
5319 …zend_error(E_COMPILE_ERROR, "Cannot redeclare %s::$%s", CG(active_class_entry)->name, var_name->u.… in zend_do_declare_property()
5337 …, zend_new_interned_string(var_name->u.constant.value.str.val, var_name->u.constant.value.str.len … in zend_do_declare_property()
5338 efree(var_name->u.constant.value.str.val); in zend_do_declare_property()
5342 void zend_do_declare_class_constant(znode *var_name, const znode *value TSRMLS_DC) /* {{{ */ in zend_do_declare_class_constant() argument
5360 …cname = zend_new_interned_string(var_name->u.constant.value.str.val, var_name->u.constant.value.st… in zend_do_declare_class_constant()
5365 …result = zend_hash_add(&CG(active_class_entry)->constants_table, cname, var_name->u.constant.value… in zend_do_declare_class_constant()
5369 … "Cannot redefine class constant %s::%s", CG(active_class_entry)->name, var_name->u.constant.value… in zend_do_declare_class_constant()
[all …]
/PHP-5.5/ext/wddx/
H A Dwddx.c112 ZEND_ARG_INFO(0, var_name)
126 ZEND_ARG_INFO(0, var_name)

Completed in 79 milliseconds