/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/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 …]
|
H A D | tempnam_variation2.phpt | 49 echo "File name is => "; 90 File name is => %s/tempnam_variation2/tempnam_variation2_sub/tempnam_variation2.tmp%s 100 File name is => %s/tempnam_variation2/tempnam_variation2.tmp%s 105 File name is => %s/tempnam_variation2/tempnam_variation2.tmp%s 110 File name is => %s/tempnam_variation2/tempnam_variation2.tmp%s 115 File name is => %s/tempnam_variation2/tempnam_variation2.tmp%s 122 File name is => %s/tempnam_variation2.tmp%s 127 File name is => %s/tempnam_variation2.tmp%s 134 File name is => %s/tempnam_variation2.tmp%s 141 File name is => %s/tempnam_variation2.tmp%s [all …]
|
/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/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"]=>
|
H A D | session_basic4.phpt | 14 session.name=PHPSESSID 57 …t type="hidden" name="testvar1" value="testvalue1" /><input type="hidden" name="testvar2" value="t… 61 …t type="hidden" name="testvar1" value="testvalue1" /><input type="hidden" name="testvar2" value="t…
|
/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/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() 418 zend_hash_del(EG(modified_ini_directives), name); in zend_restore_ini_entry() 563 ini_entry = zend_hash_find_ptr(EG(ini_directives), name); in zend_ini_get_value() [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/ext/xml/tests/ |
H A D | xml_set_object_multiple_times.phpt | 13 public function start_element($parser, $name, $attributes) { 16 echo "A::start_element($name)\n"; 24 public function start_element($parser, $name) { 25 echo "B::start_element($name)\n"; 27 public function end_element($parser, $name) { 28 echo "B::end_element($name)\n";
|
/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/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") {
|
/php-src/ext/soap/tests/schema/ |
H A D | test_schema.inc | 12 <definitions name="InteropTest" 28 <message name="testMessage"> 29 <part name="testParam" $type/> 31 <portType name="testPortType"> 32 <operation name="test"> 36 <binding name="testBinding" type="testPortType"> 38 <operation name="test"> 45 <service name="testService"> 46 <port name="testPort" binding="tns:testBinding">
|
/php-src/ext/hash/tests/ |
H A D | mhash_002.phpt | 37 foreach ($supported_hash_al as $name => $len) { 38 if (array_key_exists($name, $known_hash_al)) { 39 $len = mhash_get_block_size($known_hash_al[$name]); 40 echo "$name = $len\n"; 42 echo "$name ? $len\n";
|
/php-src/ext/curl/ |
H A D | sync-constants.php | 264 foreach ($matches[1] as $name) { 265 if ($name === '__c') { // macro 269 … if (in_array($name, IGNORED_PHP_CONSTANTS, true) || !preg_match(CONSTANTS_REGEX_PATTERN, $name)) { 274 $constants[] = $name;
|