/PHP-7.4/ext/standard/tests/dir/ |
H A D | scandir_variation10.phpt | 38 var_dump(in_array('file1.tmp', $files)); 39 var_dump(in_array('file2.tmp', $files)); 60 string(9) "file1.tmp" 62 string(9) "file2.tmp" 66 string(9) "file2.tmp" 68 string(9) "file1.tmp"
|
H A D | readdir_basic-win32-mb.phpt | 68 string(9) "file1.tmp" 69 string(9) "file2.tmp" 70 string(9) "file3.tmp" 76 string(9) "file1.tmp" 77 string(9) "file2.tmp" 78 string(9) "file3.tmp"
|
H A D | scandir_variation10-win32-mb.phpt | 44 var_dump(in_array('私はガラスを食べられますfile1.tmp', $files)); 45 var_dump(in_array('私はガラスを食べられますfile2.tmp', $files)); 66 string(45) "私はガラスを食べられますfile1.tmp" 68 string(45) "私はガラスを食べられますfile2.tmp" 72 string(45) "私はガラスを食べられますfile2.tmp" 74 string(45) "私はガラスを食べられますfile1.tmp"
|
/PHP-7.4/ext/openssl/tests/ |
H A D | bug69215.phpt | 10 $caCertFile = __DIR__ . DIRECTORY_SEPARATOR . 'bug69215-ca.pem.tmp'; 11 $clientCertFile = __DIR__ . DIRECTORY_SEPARATOR . 'bug69215-client.pem.tmp'; 12 $serverCertFile = __DIR__ . DIRECTORY_SEPARATOR . 'bug69215-server.pem.tmp'; 60 @unlink(__DIR__ . DIRECTORY_SEPARATOR . 'bug69215-ca.pem.tmp'); 61 @unlink(__DIR__ . DIRECTORY_SEPARATOR . 'bug69215-client.pem.tmp'); 62 @unlink(__DIR__ . DIRECTORY_SEPARATOR . 'bug69215-server.pem.tmp');
|
/PHP-7.4/ext/mysqli/tests/ |
H A D | mysqli_class_mysqli_result_interface.phpt | 82 assert(($tmp = mysqli_field_tell($res)) === $mysqli_result->current_field); 85 $tmp, gettype($tmp)); 87 assert(($tmp = mysqli_field_count($link)) === $mysqli_result->field_count); 90 $tmp, gettype($tmp)); 92 assert(($tmp = mysqli_fetch_lengths($res)) === $mysqli_result->lengths); 96 ((is_array($tmp)) ? implode(' ', $tmp) : 'n/a'), 97 gettype($tmp)); 99 assert(($tmp = mysqli_num_rows($res)) === $mysqli_result->num_rows); 102 $tmp, gettype($tmp)); 116 if (null !== ($tmp = @$res->num_rows)) [all …]
|
H A D | mysqli_select_db.phpt | 14 $tmp = NULL; 17 if (!is_null($tmp = @mysqli_select_db())) 18 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 20 if (!is_null($tmp = @mysqli_select_db($link))) 21 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 27 if (!is_null($tmp = @mysqli_select_db($link, $db, "foo"))) 28 printf("[004] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 103 if (false !== ($tmp = mysqli_select_db($link, $db))) 104 printf("[019] Expecting false, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_free_result.phpt | 13 $tmp = NULL; 16 if (!is_null($tmp = @mysqli_free_result())) 17 printf("[001] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp); 19 if (!is_null($tmp = @mysqli_free_result($link))) 20 printf("[002] Expecting NULL, got %s/%s\n", gettype($tmp), $tmp);
|
H A D | mysqli_driver.phpt | 17 if (($tmp = $driver->client_info) !== $client_info) 20 gettype($tmp), $tmp); 23 if (($tmp = $driver->client_version) !== $client_version) 26 gettype($tmp), $tmp); 28 if (!is_int($tmp = $driver->driver_version) || (0 == $tmp)) 30 gettype($tmp), $tmp); 63 $tmp = $e->getTrace(); 64 if (empty($tmp))
|
H A D | mysqli_poll_kill.phpt | 28 …if (true !== ($tmp = mysqli_query($link, "SELECT 1 AS 'processed before killed'", MYSQLI_ASYNC | … 29 printf("[002] Expecting boolean/true got %s/%s\n", gettype($tmp), var_export($tmp, true)); 41 if (1 !== ($tmp = (mysqli_poll($links, $errors, $reject, 0, 10000)))) 42 printf("[003] Expecting int/1 got %s/%s\n", gettype($tmp), var_export($tmp, true)); 68 if (0 !== ($tmp = mysqli_poll($links, $errors, $reject, 1))) 70 gettype($tmp), var_export($tmp, true)); 84 if (true !== ($tmp = mysqli_query($link, "SELECT 1", MYSQLI_ASYNC | MYSQLI_USE_RESULT))) 85 printf("[011] Expecting boolean/true got %s/%s\n", gettype($tmp), var_export($tmp, true)); 151 printf("[017] Expecting boolean/false got %s/%s\n", gettype($tmp), var_export($tmp, true)); 157 if (0 !== ($tmp = (mysqli_poll($links, $errors, $reject, 0, 10000)))) [all …]
|
/PHP-7.4/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_stmt_rowcount.phpt | 17 if (0 !== ($tmp = $db->query('SELECT id FROM test WHERE 1 = 0')->rowCount())) 18 printf("[002] Expecting 0 got %s", var_export($tmp, true)); 20 if (1 !== ($tmp = $db->query('SELECT id FROM test WHERE id = 1')->rowCount())) 21 printf("[003] Expecting 1 got %s", var_export($tmp, true));
|
H A D | pdo_mysql_prepare_emulated.phpt | 25 $tmp = $db->errorInfo(); 28 ($error_info['prepare']['sqlstate'] !== $tmp[0])) { 30 $offset, $error_info['prepare']['sqlstate'], $tmp[0]); 35 ($error_info['prepare']['mysql'] !== $tmp[1])) { 37 $offset, $error_info['prepare']['mysql'], $tmp[0]); 57 $tmp = $stmt->errorInfo(); 60 ($error_info['execute']['sqlstate'] !== $tmp[0])) { 62 $offset, $error_info['execute']['sqlstate'], $tmp[0]); 67 ($error_info['execute']['mysql'] !== $tmp[1])) { 69 $offset, $error_info['execute']['mysql'], $tmp[0]); [all …]
|
H A D | pdo_mysql_attr_oracle_nulls.phpt | 15 $tmp = array(); 16 if (false !== @$db->setAttribute(PDO::ATTR_ORACLE_NULLS, $tmp)) 19 $tmp = new stdClass(); 20 if (false !== @$db->setAttribute(PDO::ATTR_ORACLE_NULLS, $tmp)); 61 $tmp = $stmt->fetchAll(PDO::FETCH_ASSOC); 62 if ($tmp != $expected) { 64 var_export($expected, true), var_export($tmp, true)); 70 $tmp = $stmt->fetchAll(PDO::FETCH_ASSOC); 71 if ($tmp != $expected) { 73 var_export($expected, true), var_export($tmp, true));
|
/PHP-7.4/ext/standard/tests/file/ |
H A D | rename_variation6.phpt | 11 $tmp_file = __FILE__.".tmp"; 12 $tmp_link = __FILE__.".tmp.link"; 13 $tmp_link2 = __FILE__.".tmp.link2"; 34 string(%d) "%srename_variation6.php.tmp"
|
H A D | realpath_variation-win32-mb.phpt | 19 …me = "$name_prefix/realpath_variation_私はガラスを食べられます/home/tests/realpath_variation_私はガラスを食べられます.tmp"; 34 …ガラスを食べられます/../././realpath_variation_私はガラスを食べられます/home/tests/realpath_variation_私はガラスを食べられます.tmp"); 35 …temp("$name_prefix/realpath_variation_私はガラスを食べられます/home/..///realpath_variation_私はガラスを食べられます.tmp"); 42 "$name_prefix////realpath_variation_私はガラスを食べられます/home/tests/realpath_variation_私はガラスを食べられます.tmp", 43 …variation_私はガラスを食べられます/home/../home//tests//..//..//..//home//realpath_variation_私はガラスを食べられます.tmp/" 73 unlink("$name_prefix/home/tests/realpath_variation_私はガラスを食べられます.tmp"); 82 string(%d) "%s\realpath_variation_私はガラスを食べられます\home\tests\realpath_variation_私はガラスを食べられます.tmp" 86 string(%d) "%s\realpath_variation_私はガラスを食べられます\home\tests\realpath_variation_私はガラスを食べられます.tmp"
|
H A D | realpath_variation-win32.phpt | 19 $filename = "$name_prefix/realpath_variation/home/tests/realpath_variation.tmp"; 34 …emp("$name_prefix/realpath_variation/../././realpath_variation/home/tests/realpath_variation.tmp"); 35 $obj2 = new object_temp("$name_prefix/realpath_variation/home/..///realpath_variation.tmp"); 42 "$name_prefix////realpath_variation/home/tests/realpath_variation.tmp", 43 "$name_prefix/./realpath_variation/home/../home//tests//..//..//..//home//realpath_variation.tmp/" 73 unlink("$name_prefix/home/tests/realpath_variation.tmp"); 82 string(%d) "%s\realpath_variation\home\tests\realpath_variation.tmp" 86 string(%d) "%s\realpath_variation\home\tests\realpath_variation.tmp"
|
H A D | rename_variation12-win32.phpt | 27 $fromFile = "renameMe.tmp"; 28 $toFile = "IwasRenamed.tmp"; 92 ….//../renameVar11Sub/renameMe.tmp,%s/renameVar11/renameVar11Sub/..///renameVar11Sub//..//../rename… 97 …e(%s/renameVar11/renameVar11Sub/BADDIR/renameMe.tmp,%s/renameVar11/renameVar11Sub/BADDIR/IwasRenam… 118 Warning: rename(BADDIR/renameMe.tmp,BADDIR/IwasRenamed.tmp): The system cannot find the path specif…
|
H A D | rename_variation12.phpt | 27 $fromFile = "renameMe.tmp"; 28 $toFile = "IwasRenamed.tmp"; 92 ….//../renameVar11Sub/renameMe.tmp,%s/renameVar11/renameVar11Sub/..///renameVar11Sub//..//../rename… 97 …e(%s/renameVar11/renameVar11Sub/BADDIR/renameMe.tmp,%s/renameVar11/renameVar11Sub/BADDIR/IwasRenam… 118 Warning: rename(BADDIR/renameMe.tmp,BADDIR/IwasRenamed.tmp): %s in %s on line %d
|
H A D | copy_variation8.phpt | 29 $file = $file_path."/copy_variation8.tmp"; 32 $symlink = $file_path."/copy_variation8_symlink.tmp"; 33 $hardlink = $file_path."/copy_variation8_hardlink.tmp"; 39 $base_dir."/copy_copy_variation8.tmp", 40 $base_dir."/copy_variation8_sub/copy_copy_variation8.tmp", 41 "$sub_dir/copy_copy_variation8.tmp", 42 "$sub_dir/../copy_copy_variation8.tmp", 43 "$sub_dir/../copy_variation8_sub/copy_copy_variation8.tmp", 44 "$sub_dir/..///../copy_copy_variation8.tmp", 46 "$dirname_with_blank/copy_copy_variation8.tmp"
|
H A D | readlink_realpath_variation1.phpt | 20 …ame = "$name_prefix/readlink_realpath_variation1/home/tests/link/readlink_realpath_variation1.tmp"; 35 …alpath_variation1/../././readlink_realpath_variation1/home/readlink_realpath_variation1_link.tmp"); 36 …mp("$name_prefix/readlink_realpath_variation1/home/../..///readlink_realpath_variation1_link.tmp"); 69 unlink("$name_prefix/home/tests/link/readlink_realpath_variation1.tmp"); 82 string(%d) "%s/readlink_realpath_variation1/home/tests/link/readlink_realpath_variation1.tmp" 83 string(%d) "%s/readlink_realpath_variation1/home/tests/link/readlink_realpath_variation1.tmp" 85 string(%d) "%s/readlink_realpath_variation1/home/tests/link/readlink_realpath_variation1.tmp" 86 string(%d) "%s/readlink_realpath_variation1/home/tests/link/readlink_realpath_variation1.tmp" 93 string(%d) "%s/readlink_realpath_variation1/home/readlink_realpath_variation1_link.tmp" 98 string(%d) "%s/readlink_realpath_variation1_link.tmp"
|
/PHP-7.4/ext/com_dotnet/ |
H A D | com_com.c | 82 zval *tmp; in PHP_FUNCTION() local 91 server_name = Z_STRVAL_P(tmp); in PHP_FUNCTION() 101 user_name = Z_STRVAL_P(tmp); in PHP_FUNCTION() 110 password = Z_STRVAL_P(tmp); in PHP_FUNCTION() 111 password_len = Z_STRLEN_P(tmp); in PHP_FUNCTION() 119 domain_name = Z_STRVAL_P(tmp); in PHP_FUNCTION() 434 zval *tmp; in php_com_get_id_of_name() local 464 zval tmp; in php_com_get_id_of_name() local 471 ZVAL_LONG(&tmp, *dispid); in php_com_get_id_of_name() 724 zval *tmp; in PHP_FUNCTION() local [all …]
|
/PHP-7.4/ext/calendar/ |
H A D | easter.c | 32 zend_long year, golden, solar, lunar, pfm, dom, tmp, easter, result; in _cal_easter() local 92 tmp = (4-pfm-dom) % 7; in _cal_easter() 93 if (tmp < 0) { in _cal_easter() 94 tmp += 7; in _cal_easter() 97 easter = pfm + tmp + 1; /* Easter as the number of days after 21st March */ in _cal_easter()
|
/PHP-7.4/ext/dba/ |
H A D | install_cdb.sh | 33 mkdir -p tmp || exit 1 34 cd tmp 47 rm -rf tmp
|
/PHP-7.4/ext/phar/tests/tar/files/ |
H A D | corrupt_tarmaker.php.inc | 16 protected $tmp; 118 fwrite($this->tmp, $block . $checksum . $blockend, 512); 120 stream_copy_to_stream($fileOrStream, $this->tmp); 122 fwrite($this->tmp, str_repeat("\0", 512 - $stat['size'] % 512)); 125 fwrite($this->tmp, $fileOrStream); 127 fwrite($this->tmp, str_repeat("\0", 512 - strlen($fileOrStream) % 512)); 139 $this->tmp = gzopen($this->path, 'wb'); 142 $this->tmp = bzopen($this->path, 'w'); 145 $this->tmp = fopen($this->path, 'wb'); 174 fwrite($this->tmp, pack('a1024', '')); [all …]
|
H A D | make.dangerous.tar.php.inc | 17 protected $tmp; 111 fwrite($this->tmp, (binary)$block . $checksum . $blockend, 512); 113 stream_copy_to_stream($fileOrStream, $this->tmp); 115 fwrite($this->tmp, (binary)str_repeat("\0", 512 - $stat['size'] % 512)); 118 fwrite($this->tmp, (binary)$fileOrStream); 120 fwrite($this->tmp, (binary)str_repeat("\0", 512 - strlen($fileOrStream) % 512)); 132 $this->tmp = gzopen($this->path, 'wb'); 135 $this->tmp = bzopen($this->path, 'w'); 138 $this->tmp = fopen($this->path, 'wb'); 167 fwrite($this->tmp, pack('a1024', '')); [all …]
|
/PHP-7.4/sapi/apache2handler/ |
H A D | php_functions.c | 368 char tmp[1024]; in PHP_MINFO_FUNCTION() local 401 snprintf(tmp, sizeof(tmp), "%d", MODULE_MAGIC_NUMBER); in PHP_MINFO_FUNCTION() 402 php_info_print_table_row(2, "Apache API Version", tmp); in PHP_MINFO_FUNCTION() 408 snprintf(tmp, sizeof(tmp), "%s:%u", serv->server_hostname, serv->port); in PHP_MINFO_FUNCTION() 409 php_info_print_table_row(2, "Hostname:Port", tmp); in PHP_MINFO_FUNCTION() 413 …snprintf(tmp, sizeof(tmp), "%s(%d)/%d", ap_unixd_config.user_name, ap_unixd_config.user_id, ap_uni… in PHP_MINFO_FUNCTION() 415 …snprintf(tmp, sizeof(tmp), "%s(%d)/%d", unixd_config.user_name, unixd_config.user_id, unixd_config… in PHP_MINFO_FUNCTION() 417 php_info_print_table_row(2, "User/Group", tmp); in PHP_MINFO_FUNCTION() 422 php_info_print_table_row(2, "Max Requests", tmp); in PHP_MINFO_FUNCTION() 424 apr_snprintf(tmp, sizeof tmp, in PHP_MINFO_FUNCTION() [all …]
|