Home
last modified time | relevance | path

Searched refs:sprintf (Results 76 – 100 of 398) sorted by relevance

12345678910>>...16

/PHP-8.3/ext/phar/tests/tar/files/
H A Dmake.dangerous.tar.php.inc84 sprintf('%6s ',decoct($stat['uid'])),
85 sprintf('%6s ',decoct($stat['gid'])),
86 sprintf('%11s ',decoct($stat['size'])),
87 sprintf('%11s ',decoct($stat['mtime']))
109 $checksum = pack('a8', sprintf('%6s ', decoct($checksum)));
/PHP-8.3/ext/mysqli/tests/
H A Dbug51647.phpt16 die(sprintf("skip Connect failed, [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
19 die(sprintf("skip SSL only supported on TCP/IP"));
30 … die(sprintf("skip Failed to test for MySQL SSL support, [%d] %s", $link->errno, $link->error));
36 die(sprintf("skip Failed to test for MySQL SSL support, [%d] %s", $link->errno, $link->error));
39 die(sprintf("skip MySQL has no SSL support, [%d] %s", $link->errno, $link->error));
H A Dmysqli_stmt_fetch_bit.phpt9 …die(sprintf("skip Can't connect to MySQL Server - [%d] %s", mysqli_connect_errno(), mysqli_connect…
29 …!mysqli_query($link, $sql = sprintf('CREATE TABLE test(id INT, label BIT(%d)) ENGINE="%s"', $bits,…
38 … $sql = sprintf("INSERT INTO test(id, label) VALUES (%d, b'%s')", $value, decbin($value));
45 … $sql = sprintf("SELECT id, label + 0 AS _label0, label FROM test WHERE id = %d", $value);
H A Dmysqli_expire_password.phpt10 …die(sprintf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port…
15 die(sprintf("SKIP Needs MySQL 5.6.10 or newer, found MySQL %s\n", $link->server_info));
19 die(sprintf("SKIP Needs MariaDB 10.4.3 or newer, found MariaDB %s\n", $link->server_info));
48 die(sprintf("SKIP [%d] %s\n", $link->errno, $link->error));
52 if (!mysqli_query($link, sprintf("GRANT SELECT ON TABLE %s.test TO expiretest@'%%'", $db)) ||
53 !mysqli_query($link, sprintf("GRANT SELECT ON TABLE %s.test TO expiretest@'localhost'", $db))) {
H A D067.phpt10 …die(sprintf("skip Can't connect to MySQL Server - [%d] %s", mysqli_connect_errno(), mysqli_connect…
14 die(sprintf("skip Server doesn't support cursors (%s)",
72 if (!mysqli_query($link, sprintf("DROP TABLE IF EXISTS cursor%d", $i)))
H A Dmysqli_debug_append.phpt24 …if (true !== ($tmp = mysqli_debug(sprintf('d:t:O,%s/mysqli_debug_phpt.trace', sys_get_temp_dir()))…
32 $trace_file = sprintf('%s/mysqli_debug_phpt.trace', sys_get_temp_dir());
52 if (true !== ($tmp = mysqli_debug(sprintf('d:a,%s', $trace_file))))
64 if (true !== ($tmp = mysqli_debug(sprintf('d:A,%s', $trace_file))))
H A Dmysqli_begin_transaction.phpt11 die(sprintf("skip Cannot connect, [%d] %s", mysqli_connect_errno(), mysqli_connect_error()));
14 die(sprintf("skip Needs InnoDB support, [%d] %s", $link->errno, $link->error));
57 if (!mysqli_begin_transaction($link, $flag, sprintf("flag %d", $flag))) {
67 … if (!mysqli_begin_transaction($link, MYSQLI_TRANS_START_READ_ONLY, sprintf("flag %d", $flag))) {
H A Dmysqli_real_escape_string_sjis.phpt10 die(sprintf("skip Cannot connect to MySQL, [%d] %s\n",
14 die(sprintf("skip Cannot set charset 'sjis'"));
/PHP-8.3/ext/openssl/tests/
H A Dstream_verify_peer_name_001.phpt25 $serverCode = sprintf($serverCode, $certFile);
41 $clientCode = sprintf($clientCode, $peerName);
H A Dgh9310.phpt125 $serverCode = sprintf($serverCodeTemplate, $baseDirCertFile . "\0test", $baseDirPkFile);
128 $serverCode = sprintf($serverCodeTemplate, $baseDirCertFile, $baseDirPkFile . "\0test");
131 $serverCode = sprintf($serverCodeTemplate, $certFile, $pkFile);
134 $serverCode = sprintf($serverCodeTemplate, $baseDirCertFile, $pkFile);
137 $sniClientCode = sprintf($sniClientCodeTemplate, 'cs.php.net');
140 $sniClientCode = sprintf($sniClientCodeTemplate, 'uk.php.net');
143 $sniClientCode = sprintf($sniClientCodeTemplate, 'us.php.net');
H A Dstream_verify_peer_name_002.phpt26 $serverCode = sprintf($serverCode, $certFile);
43 $clientCode = sprintf($clientCode, $cacertFile);
H A Dcapture_peer_cert_001.phpt26 $serverCode = sprintf($serverCode, $certFile);
42 $clientCode = sprintf($clientCode, $cacertFile);
H A Dsession_meta_capture_tlsv13.phpt28 $serverCode = sprintf($serverCode, $certFile);
46 $clientCode = sprintf($clientCode, $cacertFile, $peerName);
H A Dstream_crypto_flags_001.phpt29 $serverCode = sprintf($serverCode, $certFile);
50 $clientCode = sprintf($clientCode, $cacertFile, $peerName);
/PHP-8.3/ext/standard/tests/filters/
H A Dbug22538.phpt14 $path1 = sprintf("%s/%s%da", __DIR__, uniqid(), time());
15 $path2 = sprintf("%s/%s%db", __DIR__, uniqid(), time());
/PHP-8.3/ext/pdo_mysql/tests/
H A Dbug_61411.phpt15 die(sprintf("skip Cannot determine MySQL Server version\n"));
19 die(sprintf("skip Need MySQL Server 4.1.6+, found %d.%02d.%02d (%d)\n",
/PHP-8.3/Zend/tests/
H A Dfloat_prec_001.phpt6 var_dump (substr (sprintf ("%.35f", 0.002877), 0, 10));
/PHP-8.3/ext/standard/tests/strings/
H A Dbug20108.phpt6 $z = sprintf("%580.58s\n", $a);
H A Dsprintf_variation9.phpt2 Test sprintf() function : usage variations - float formats with float values
5 echo "*** Testing sprintf() : float formats with float values ***\n";
53 var_dump( sprintf($format, $float_value) );
61 *** Testing sprintf() : float formats with float values ***
H A Dbug67249.phpt6 var_dump(sprintf("%'", "foo"));
H A Dbug22207.phpt6 var_dump(sprintf("%10.5e\n", 1.1));
H A Dsprintf_variation34.phpt2 Test sprintf() function : usage variations - hexa formats with integer values
11 echo "*** Testing sprintf() : hexa formats with integer values ***\n";
46 var_dump( sprintf($format, $integer_value) );
54 *** Testing sprintf() : hexa formats with integer values ***
H A Dsprintf_variation46.phpt2 Test sprintf() function : usage variations - scientific formats with integer values
5 echo "*** Testing sprintf() : scientific formats with integer values ***\n";
40 var_dump( sprintf($format, $integer_value) );
48 *** Testing sprintf() : scientific formats with integer values ***
H A Dsprintf_variation47.phpt2 Test sprintf() function : usage variations - scientific formats with float values
5 echo "*** Testing sprintf() : scientific formats with float values ***\n";
42 var_dump( sprintf($format, $float_value) );
50 *** Testing sprintf() : scientific formats with float values ***
/PHP-8.3/ext/standard/tests/streams/
H A Dproc_open_bug60120.phpt22 $command = sprintf("%s -n %s", getenv('TEST_PHP_EXECUTABLE_ESCAPED'), escapeshellarg($file));
41 die(sprintf(

Completed in 24 milliseconds

12345678910>>...16