Home
last modified time | relevance | path

Searched refs:name (Results 151 – 175 of 1778) sorted by relevance

12345678910>>...72

/PHP-7.4/ext/standard/tests/file/
H A Dtempnam_variation1.phpt11 Description: Create file with unique file name.
26 echo "File name is => ";
67 File name is => %s%etempnam_variation1.tmp%s
72 File name is => %s%etempnam_variation1.tmp%s
77 File name is => %s%etempnam_variation1.tmp%s
82 File name is => %s%etempnam_variation1.tmp%s
87 File name is => %s%etempnam_variation1.tmp%s
92 File name is => %s%etempnam_variation1.tmp%s
97 File name is => %s%etempnam_variation1.tmp%s
102 File name is => %s%etempnam_variation1.tmp%s
[all …]
H A Dcopy_variation1.phpt25 "copy.tmp", //regular file name
27 ".tmp", //file name only with extension
53 echo "Destination file name => ";
84 Destination file name => %s/copy.tmp
98 Destination file name => %s/.tmp
105 Destination file name => %s/123.tmp
112 Destination file name => %s/copy_variation1.123
119 Destination file name => %s/123
126 Destination file name => %s/123copy_variation1.tmp
133 Destination file name => %s/copy_variation.tmp123
[all …]
H A Drename_variation3-win32.phpt22 /* test rename() by trying to rename an existing file/dir to the same name
32 echo "\n-- Renaming file to same file name --\n";
36 echo "\n-- Renaming directory to same directory name --\n";
40 echo "\n-- Renaming existing file to existing directory name --\n";
45 echo "\n-- Renaming existing directory to existing file name --\n";
64 -- Renaming file to same file name --
68 -- Renaming directory to same directory name --
72 -- Renaming existing file to existing directory name --
79 -- Renaming existing directory to existing file name --
/PHP-7.4/ext/zip/examples/
H A Dencryption.php7 $name = __DIR__ . '/encrypted.zip'; variable
14 $zip->open($name, ZIPARCHIVE::CREATE | ZipArchive::OVERWRITE);
22 $zip->open($name, ZIPARCHIVE::CREATE | ZipArchive::OVERWRITE);
30 $zip->open($name);
47 $text = file_get_contents("zip://$name#$file", false, $ctx);
/PHP-7.4/ext/pdo/tests/
H A Dpdo.inc3 function set_sql($name, $query)
5 if (empty($GLOBALS['SQL'][$name]))
7 $GLOBALS['SQL'][$name] = $query;
/PHP-7.4/ext/reflection/tests/
H A Dbug30209.phpt8 private $name = 'testBAR';
15 var_dump($this->name);
16 $method = $class->getMethod($this->name);
17 var_dump($this->name);
H A DReflectionClass_constructor_001.phpt12 //Return the name of another class
23 ["name"]=>
27 ["name"]=>
31 ["name"]=>
/PHP-7.4/ext/xmlreader/tests/
H A D003-mb.phpt23 echo $reader->name . ": ";
26 if ($reader->getAttribute($reader->name) == $reader->value) {
32 echo $reader->name . ": ";
35 if ($reader->getAttribute($reader->name) == $reader->value) {
41 echo $reader->name . ": ";
49 echo $reader->name . ": ";
58 echo $reader->name . ": ";
66 echo $reader->name . ": ";
/PHP-7.4/ext/phar/tests/
H A Dmetadata_write_commit.phpt23 foreach($files as $name => $cont) {
24 var_dump(file_get_contents($pname.'/'.$name));
34 foreach($files as $name => $cont) {
35 var_dump($phar[$name]->getMetadata());
43 foreach($files as $name => $cont) {
44 var_dump(file_get_contents($pname.'/'.$name));
47 foreach($files as $name => $cont) {
48 var_dump($phar[$name]->getMetadata());
/PHP-7.4/ext/simplexml/tests/
H A D016a.phpt9 <person name="Foo"></person>
14 var_dump($people->person['name']);
15 $people->person['name'] .= 'Bar';
16 var_dump($people->person['name']);
/PHP-7.4/ext/session/tests/
H A D009.phpt2 unset($_SESSION["name"]); test
26 $_SESSION["name"] = "foo";
33 unset($_SESSION["name"]);
47 ["name"]=>
51 ["name"]=>
H A D027.phpt2 unset($_SESSION["name"]); should work
26 $_SESSION["name"] = "foo";
33 unset($_SESSION["name"]);
47 ["name"]=>
51 ["name"]=>
/PHP-7.4/Zend/tests/
H A Doverloaded_prop_assign_op_refs.phpt11 public function &__get($name) {
12 echo "get($name)\n";
13 return $this->$name;
16 public function __set($name, $value) {
17 echo "set($name, $value)\n";
H A Dbug75420.9.phpt6 public function offsetExists($x) { $GLOBALS["name"] = 24; return true; }
13 $name = "foo";
14 var_dump($obj[$name] ?? 12);
15 var_dump($name);
H A Dbug75420.11.phpt6 public function offsetExists($x) { $GLOBALS["name"] = 24; return true; }
13 $name = "foo";
14 var_dump(empty($obj[$name]));
15 var_dump($name);
H A Dbug62907.phpt5 spl_autoload_register(function ($name) {
6 if ($name == "B") {
8 } else if ($name == "A") {
10 } else if ($name == "T") {
/PHP-7.4/tests/output/
H A Dob_013.phpt40 [name] => d
52 [name] => default output handler
63 [name] => a
74 [name] => b
85 [name] => c
96 [name] => d
/PHP-7.4/ext/readline/tests/
H A Dlibedit_write_history_001-win32.phpt13 $name = tempnam(sys_get_temp_dir(), 'readline.tmp');
19 readline_write_history($name);
21 var_dump(file_get_contents($name));
23 unlink($name);
H A Dlibedit_write_history_001.phpt13 $name = tempnam('/tmp', 'readline.tmp');
19 readline_write_history($name);
21 var_dump(file_get_contents($name));
23 unlink($name);
/PHP-7.4/ext/zip/
H A Dphp_zip.h53 #define ZIPARCHIVE_ME(name, arg_info, flags) {#name, c_ziparchive_ ##name, arg_info,(uint32_t) (siz… argument
54 #define ZIPARCHIVE_METHOD(name) ZEND_NAMED_FUNCTION(c_ziparchive_ ##name) argument
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_utils.c234 while (color && color->name) { in phpdbg_get_color()
236 memcmp(name, color->name, name_length) == SUCCESS) { in phpdbg_get_color()
270 while (element && element->name) { in phpdbg_get_element()
272 if (strncasecmp(name, element->name, len) == SUCCESS) { in phpdbg_get_element()
389 if (name == NULL || !name_length) { in phpdbg_safe_class_lookup()
480 char *name; in phpdbg_parse_variable_with_arg() local
489 name = emalloc(i + keylen + 2); in phpdbg_parse_variable_with_arg()
544 char *name = estrndup(input, i); in phpdbg_parse_variable_with_arg() local
550 char *name = estrndup(input, i); in phpdbg_parse_variable_with_arg() local
559 char *name = estrndup(input, i); in phpdbg_parse_variable_with_arg() local
[all …]
H A Dphpdbg_wait.c31 if ((zvp = zend_hash_str_find(&EG(symbol_table), name, strlen(name)))) { in ZEND_EXTERN_MODULE_GLOBALS()
39 …if (ZSTR_LEN(auto_global->name) != sizeof("GLOBALS") - 1 || memcmp(ZSTR_VAL(auto_global->name), "G… in phpdbg_dearm_autoglobals()
216 if (mod->name) { in phpdbg_webdata_decompress()
218 ZVAL_NEW_STR(&value, zend_string_init(mod->name, strlen(mod->name), 0)); in phpdbg_webdata_decompress()
233 if (!sapi_module.name || strcmp(sapi_module.name, Z_STRVAL_P(module))) { in phpdbg_webdata_decompress()
245 zval *name = NULL; in phpdbg_webdata_decompress() local
256 …if (Z_TYPE_P(name) == IS_STRING && !zend_binary_strcmp(extension->name, strlen(extension->name), Z… in phpdbg_webdata_decompress()
259 name = NULL; in phpdbg_webdata_decompress()
263 if (name) { in phpdbg_webdata_decompress()
292 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(zvp), name) { in phpdbg_webdata_decompress()
[all …]
/PHP-7.4/ext/zend_test/
H A Dtest.c153 fptr->function_name = zend_string_copy(name); in zend_test_class_method_get()
162 if (zend_string_equals_literal_ci(name, "test")) { in zend_test_class_static_method_get()
169 fptr->function_name = name; in zend_test_class_static_method_get()
175 return zend_std_get_static_method(ce, name, NULL); in zend_test_class_static_method_get()
222 zend_string *name = zend_string_init("intProp", sizeof("intProp") - 1, 1); in PHP_MINIT_FUNCTION() local
227 zend_string_release(name); in PHP_MINIT_FUNCTION()
231 zend_string *name = zend_string_init("classProp", sizeof("classProp") - 1, 1); in PHP_MINIT_FUNCTION() local
236 zend_test_class, name, &val, ZEND_ACC_PUBLIC, NULL, in PHP_MINIT_FUNCTION()
238 zend_string_release(name); in PHP_MINIT_FUNCTION()
246 zend_test_class, name, &val, ZEND_ACC_PUBLIC | ZEND_ACC_STATIC, NULL, in PHP_MINIT_FUNCTION()
[all …]
/PHP-7.4/ext/spl/tests/
H A Dbug71202.phpt6 function inner_autoload ($name){
7 if ($name == 'A') {
22 spl_autoload_register(function ($name) {
23 if ($name == 'A') {
/PHP-7.4/ext/soap/tests/
H A Dclassmap004.phpt14 function __get($name) {
15 return @$this->a[$name];
17 function __set($name, $val) {
18 $this->a[$name] = $val;
20 function __unset($name) {
21 unset($this->a[$name]);

Completed in 29 milliseconds

12345678910>>...72