/php-src/ext/readline/tests/ |
H A D | libedit_write_history_001-win32.phpt | 15 $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 D | readline_write_history_001.phpt | 13 $name = tempnam('/tmp', 'readline.tmp'); 18 readline_write_history($name); 20 var_dump(file_get_contents($name)); 22 unlink($name);
|
H A D | readline_read_history_001.phpt | 13 $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 D | hooked_with_magic_method.phpt | 12 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 D | pdo.inc | 3 function set_sql($name, $query) 5 if (empty($GLOBALS['SQL'][$name])) 7 $GLOBALS['SQL'][$name] = $query;
|
/php-src/ext/phar/tests/zip/ |
H A D | bug48791.phpt | 12 …name="OpenSymbol" svg:font-family="OpenSymbol"/><style:font-face style:name="Tahoma1" svg:font-fam…
|
/php-src/ext/dom/tests/bug79701/ |
H A D | set_attribute_html.phpt | 7 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 D | tempnam_variation1.phpt | 22 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 D | tempnam_variation2-win32.phpt | 49 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 D | 027.phpt | 2 unset($_SESSION["name"]); should work 28 $_SESSION["name"] = "foo"; 35 unset($_SESSION["name"]); 49 ["name"]=> 53 ["name"]=>
|
/php-src/ext/zip/tests/ |
H A D | oo_torrentzip.phpt | 11 $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 D | oo_encryption.phpt | 12 $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 D | dns.c | 303 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 D | classmap004.phpt | 14 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 D | zend_ini.c | 85 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 D | sqlite3stmt_paramCount_basic.phpt | 11 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 D | Document_importLegacyNode.phpt | 27 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 D | array_map_variation16.phpt | 31 …#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 D | rfc_example_011.phpt | 11 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 D | ReflectionClass_constructor_001.phpt | 12 //Return the name of another class 23 ["name"]=> 27 ["name"]=> 31 ["name"]=>
|
/php-src/Zend/tests/prop_const_expr/ |
H A D | static_initalizer.phpt | 11 static $name = A::Case->name; 13 static $nameNullsafe = A::Case?->name; 16 var_dump($name);
|
/php-src/ext/spl/tests/ |
H A D | bug71202.phpt | 6 function inner_autoload ($name){ 7 if ($name == 'A') { 22 spl_autoload_register(function ($name) { 23 if ($name == 'A') {
|
/php-src/Zend/tests/ |
H A D | bug75420.11.phpt | 6 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 D | bug75420.9.phpt | 6 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 D | bug62907.phpt | 5 spl_autoload_register(function ($name) { 6 if ($name == "B") { 8 } else if ($name == "A") { 10 } else if ($name == "T") {
|