Home
last modified time | relevance | path

Searched refs:name (Results 201 – 225 of 2408) sorted by relevance

12345678910>>...97

/php-src/ext/readline/tests/
H A Dlibedit_write_history_001-win32.phpt15 $name = tempnam(sys_get_temp_dir(), 'readline.tmp');
20 readline_write_history($name);
22 var_dump(file_get_contents($name));
24 unlink($name);
H A Dreadline_write_history_001.phpt13 $name = tempnam('/tmp', 'readline.tmp');
18 readline_write_history($name);
20 var_dump(file_get_contents($name));
22 unlink($name);
H A Dreadline_read_history_001.phpt13 $name = tempnam(sys_get_temp_dir(), 'readline.tmp');
17 var_dump(readline_write_history($name));
21 var_dump(readline_read_history($name));
25 unlink($name);
/php-src/Zend/tests/property_hooks/
H A Dhooked_with_magic_method.phpt12 public function __get($name) {
13 return $this->{$name};
16 public function __set($name, $value) {
17 $this->{$name} = $value;
/php-src/ext/pdo/tests/
H A Dpdo.inc3 function set_sql($name, $query)
5 if (empty($GLOBALS['SQL'][$name]))
7 $GLOBALS['SQL'][$name] = $query;
/php-src/ext/phar/tests/zip/
H A Dbug48791.phpt12name="OpenSymbol" svg:font-family="OpenSymbol"/><style:font-face style:name="Tahoma1" svg:font-fam…
/php-src/ext/dom/tests/bug79701/
H A Dset_attribute_html.phpt7 foreach (["xml:id", "ID"] as $name) {
15 echo "\n=== Attribute name $name ===\n\n";
22 $test1->setAttribute($name, 'y');
28 $test2->setAttribute($name, 'x');
34 $test1->setAttribute($name, 'z');
40 $test2->setAttribute($name, 'z');
50 === Attribute name xml:id ===
67 === Attribute name ID ===
/php-src/ext/standard/tests/file/
H A Dtempnam_variation1.phpt22 echo "File name is => ";
63 File name is => %s%etempnam_variation1.tmp%s
68 File name is => %s%etempnam_variation1.tmp%s
73 File name is => %s%etempnam_variation1.tmp%s
78 File name is => %s%etempnam_variation1.tmp%s
83 File name is => %s%etempnam_variation1.tmp%s
88 File name is => %s%etempnam_variation1.tmp%s
93 File name is => %s%etempnam_variation1.tmp%s
98 File name is => %s%etempnam_variation1.tmp%s
103 File name is => %s%etempnam_variation1.tmp%s
[all …]
H A Dtempnam_variation2-win32.phpt49 echo "File name is => ";
90 File name is => %s\tempnam_variation2\tempnam_variation2_sub\t%s
100 File name is => %s\tempnam_variation2\t%s
105 File name is => %s\tempnam_variation2\t%s
110 File name is => %s\tempnam_variation2\t%s
115 File name is => %s\tempnam_variation2\t%s
122 File name is => %s\t%s
127 File name is => %s\t%s
134 File name is => %s\t%s
141 File name is => %s\t%s
[all …]
/php-src/ext/session/tests/
H A D027.phpt2 unset($_SESSION["name"]); should work
28 $_SESSION["name"] = "foo";
35 unset($_SESSION["name"]);
49 ["name"]=>
53 ["name"]=>
/php-src/ext/zip/tests/
H A Doo_torrentzip.phpt11 $name = __DIR__ . '/torrent.zip';
16 $zip->open($name, ZIPARCHIVE::CREATE);
23 $zip->open($name, ZipArchive::RDONLY);
29 $name = __DIR__ . '/torrent.zip';
30 @unlink($name);
H A Doo_encryption.phpt12 $name = __DIR__ . '/encrypted.zip';
17 $r = $zip->open($name, ZIPARCHIVE::CREATE);
27 $r = $zip->open($name);
39 var_dump(file_get_contents("zip://$name#foo.txt")); // Clear, ok
40 var_dump(file_get_contents("zip://$name#bar.txt")); // Encrypted, fails
42 var_dump(file_get_contents("zip://$name#bar.txt", false, $ctx)); // Ecnrypted, ok
47 $name = __DIR__ . '/encrypted.zip';
48 @unlink($name);
/php-src/ext/standard/
H A Ddns.c303 return zend_string_init(name, strlen(name), 0); in php_gethostbyname()
309 return zend_string_init(name, strlen(name), 0); in php_gethostbyname()
461 n = dn_expand(answer->qb2, end, cp, name, sizeof(name) - 2); in php_parserr()
505 snprintf(name, sizeof(name), "%d.%d.%d.%d", cp[0], cp[1], cp[2], cp[3]); in php_parserr()
529 n = dn_expand(answer->qb2, end, cp, name, (sizeof name) - 2); in php_parserr()
609 n = dn_expand(answer->qb2, end, cp, name, (sizeof name) -2); in php_parserr()
615 n = dn_expand(answer->qb2, end, cp, name, (sizeof name) -2); in php_parserr()
634 tp = (uint8_t*)name; in php_parserr()
736 n = dn_expand(answer->qb2, end, cp, name, (sizeof name) - 2); in php_parserr()
753 n = dn_expand(answer->qb2, end, cp, name, (sizeof name) - 2); in php_parserr()
[all …]
/php-src/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]);
/php-src/Zend/
H A Dzend_ini.c85 zend_string_release_ex(entry->name, 1); in free_ini_entry()
153 if (old_entry->name) { in copy_ini_entry()
154 new_entry->name = zend_string_dup(old_entry->name, 1); in copy_ini_entry()
226 while (ini_entry->name) { in zend_register_ini_entries_ex()
228 p->name = zend_string_init_interned(ini_entry->name, ini_entry->name_length, 1); in zend_register_ini_entries_ex()
242 if (zend_hash_add_ptr(directives, p->name, (void*)p) == NULL) { in zend_register_ini_entries_ex()
243 if (p->name) { in zend_register_ini_entries_ex()
244 zend_string_release_ex(p->name, 1); in zend_register_ini_entries_ex()
419 zend_hash_del(EG(modified_ini_directives), name); in zend_restore_ini_entry()
564 ini_entry = zend_hash_find_ptr(EG(ini_directives), name); in zend_ini_get_value()
[all …]
/php-src/ext/sqlite3/tests/
H A Dsqlite3stmt_paramCount_basic.phpt11 var_dump($db->exec('CREATE TABLE foobar (id INTEGER, name STRING, city STRING)'));
14 var_dump($db->exec("INSERT INTO foobar (id, name, city) VALUES (1, 'john', 'LA')"));
15 var_dump($db->exec("INSERT INTO foobar (id, name, city) VALUES (2, 'doe', 'SF')"));
21 "SELECT * FROM foobar WHERE id = :id AND name = :name ORDER BY id ASC",
22 "SELECT * FROM foobar WHERE id = 1 AND name = :name ORDER BY id ASC",
/php-src/ext/dom/tests/modern/spec/
H A DDocument_importLegacyNode.phpt27 echo "name: ";
28 var_dump($attr->name);
44 name: string(5) "xmlns"
47 name: string(1) "a"
54 name: string(5) "xmlns"
57 name: string(7) "xmlns:c"
60 name: string(3) "c:c"
/php-src/ext/standard/tests/array/
H A Darray_map_variation16.phpt31 …#1 ($callback) must be a valid callback or null, function "echo" not found or invalid function name
32 …1 ($callback) must be a valid callback or null, function "array" not found or invalid function name
33 …1 ($callback) must be a valid callback or null, function "empty" not found or invalid function name
34 …#1 ($callback) must be a valid callback or null, function "eval" not found or invalid function name
35 …1 ($callback) must be a valid callback or null, function "isset" not found or invalid function name
36 …#1 ($callback) must be a valid callback or null, function "list" not found or invalid function name
37 …1 ($callback) must be a valid callback or null, function "print" not found or invalid function name
/php-src/Zend/tests/lazy_objects/rfc/
H A Drfc_example_011.phpt11 private string $name;
16 return $this->name;
36 $reflector->getProperty('name')->setValue($entity, $data['name']);
49 'name' => 'Example',
67 ["name":"BlogPost":private]=>
76 ["name":"BlogPost":private]=>
/php-src/ext/reflection/tests/
H A DReflectionClass_constructor_001.phpt12 //Return the name of another class
23 ["name"]=>
27 ["name"]=>
31 ["name"]=>
/php-src/Zend/tests/prop_const_expr/
H A Dstatic_initalizer.phpt11 static $name = A::Case->name;
13 static $nameNullsafe = A::Case?->name;
16 var_dump($name);
/php-src/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-src/Zend/tests/
H A Dbug75420.11.phpt6 public function offsetExists($x): bool { $GLOBALS["name"] = 24; return true; }
13 $name = "foo";
14 var_dump(empty($obj[$name]));
15 var_dump($name);
H A Dbug75420.9.phpt6 public function offsetExists($x): bool { $GLOBALS["name"] = 24; return true; }
13 $name = "foo";
14 var_dump($obj[$name] ?? 12);
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") {

Completed in 41 milliseconds

12345678910>>...97