/PHP-8.3/ext/intl/tests/ |
H A D | resourcebundle_individual.phpt | 14 $str_res .= sprintf( "length: %d\n", ut_resourcebundle_count($r) ); 15 $str_res .= sprintf( "teststring: %s\n", ut_resourcebundle_get($r, 'teststring' ) ); 16 $str_res .= sprintf( "testint: %d\n", ut_resourcebundle_get($r, 'testint' ) ); 20 $str_res .= sprintf( "testbin: %s\n", bin2hex(ut_resourcebundle_get( $r,'testbin' )) ); 23 $str_res .= sprintf( "testtable: %d\n", ut_resourcebundle_get($r2, 'major' ) ); 26 $str_res .= sprintf( "testarray: %s\n", ut_resourcebundle_get($r2, 2 ) );
|
/PHP-8.3/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_attr_multi_statements.phpt | 21 $table = sprintf("test_%s", md5(mt_rand(0, PHP_INT_MAX))); 25 $db->exec(sprintf('DROP TABLE IF EXISTS %s', $table)); 26 $create = sprintf('CREATE TABLE %s(id INT)', $table); 28 $db->exec(sprintf('INSERT INTO %s(id) VALUES (1)', $table)); 29 $stmt = $db->query(sprintf('SELECT * FROM %s; INSERT INTO %s(id) VALUES (2)', $table, $table)); 33 $stmt = $db->query(sprintf('SELECT id FROM %s', $table)); 43 $stmt = $db->query(sprintf('SELECT * FROM %s; INSERT INTO %s(id) VALUES (3)', $table, $table)); 48 $stmt = $db->query(sprintf('SELECT id FROM %s', $table)); 54 $db->exec(sprintf('DROP TABLE IF EXISTS %s', $table));
|
/PHP-8.3/ext/mysqli/tests/ |
H A D | mysqli_pam_sha256_public_key_option_invalid.phpt | 22 die(sprintf("skip [%d] %s\n", $link->errno, $link->error)); 36 die(sprintf("skip [%d] %s\n", $link->errno, $link->error)); 40 die(sprintf("skip Failed to check RSA pub key, [%d] %s\n", $link->errno, $link->error)); 48 $file = sprintf("%s%s%s_%s", sys_get_temp_dir(), DIRECTORY_SEPARATOR, "test_sha256_" , @date("Ymd")… 50 die(sprintf("skip Cannot create RSA pub key file '%s'", $file)); 53 die(sprintf("skip Failed to create pub key file")); 65 die(sprintf("skip CREATE USER failed [%d] %s", $link->errno, $link->error)); 70 die(sprintf("skip SET PASSWORD failed [%d] %s", $link->errno, $link->error)); 76 die(sprintf("SKIP [%d] %s\n", $link->errno, $link->error)); 79 if (!$link->query(sprintf("GRANT SELECT ON TABLE %s.test TO shatest@'%%'", $db)) || [all …]
|
H A D | mysqli_pam_sha256_public_key_ini.phpt | 22 die(sprintf("skip [%d] %s\n", $link->errno, $link->error)); 36 die(sprintf("skip [%d] %s\n", $link->errno, $link->error)); 40 die(sprintf("skip Failed to check RSA pub key, [%d] %s\n", $link->errno, $link->error)); 51 die(sprintf("skip Cannot create RSA pub key file '%s'", $file)); 56 die(sprintf("skip Failed to create pub key file")); 68 die(sprintf("skip CREATE USER failed [%d] %s", $link->errno, $link->error)); 73 die(sprintf("skip SET PASSWORD failed [%d] %s", $link->errno, $link->error)); 79 die(sprintf("SKIP [%d] %s\n", $link->errno, $link->error)); 82 if (!$link->query(sprintf("GRANT SELECT ON TABLE %s.test TO shatest@'%%'", $db)) || 83 !$link->query(sprintf("GRANT SELECT ON TABLE %s.test TO shatest@'localhost'", $db))) { [all …]
|
H A D | mysqli_pam_sha256.phpt | 16 …die(sprintf("skip Can't connect to MySQL Server - [%d] %s", mysqli_connect_errno(), mysqli_connect… 22 die(sprintf("skip [%d] %s\n", $link->errno, $link->error)); 36 die(sprintf("skip [%d] %s\n", $link->errno, $link->error)); 40 die(sprintf("skip Failed to check RSA pub key, [%d] %s\n", $link->errno, $link->error)); 44 …die(sprintf("skip Server misconfiguration? RSA pub key is suspicious, [%d] %s\n", $link->errno, $l… 56 die(sprintf("skip CREATE USER failed [%d] %s", $link->errno, $link->error)); 61 die(sprintf("skip SET PASSWORD failed [%d] %s", $link->errno, $link->error)); 67 die(sprintf("SKIP [%d] %s\n", $link->errno, $link->error)); 70 if (!$link->query(sprintf("GRANT SELECT ON TABLE %s.test TO shatest@'%%'", $db)) || 71 !$link->query(sprintf("GRANT SELECT ON TABLE %s.test TO shatest@'localhost'", $db))) { [all …]
|
H A D | mysqli_change_user_set_names.phpt | 10 …die(sprintf("skip Can't connect to MySQL Server - [%d] %s", mysqli_connect_errno(), mysqli_connect… 13 die(sprintf("skip [%d] %s\n", mysqli_errno($link), mysqli_error($link))); 19 die(sprintf("skip Cannot determine server version, we need MySQL Server 4.1+ for the test!")); 22 die(sprintf("skip We need MySQL Server 4.1+ for the test!")); 60 mysqli_query($link, sprintf("SET @@character_set_client = '%s'", $charset))) 65 mysqli_query($link, sprintf("SET @@character_connection = '%s'", $charset))) 70 mysqli_query($link, sprintf("SET @@character_set_results = '%s'", $charset))) 75 mysqli_query($link, sprintf("SET @@collation_connection = '%s'", $collation))) 80 mysqli_query($link, sprintf("SET @@collation_database = '%s'", $collation))) 85 mysqli_query($link, sprintf("SET @@collation_server = '%s'", $collation)))
|
H A D | local_infile_tools.inc | 16 … return sprintf("Server variable 'local_infile' seems not set to 'ON', found '%s'", $row['Value']); 27 if (!mysqli_query($link, sprintf('DROP TABLE IF EXISTS %s', $table_name))) { 31 …if (!mysqli_query($link, $sql = sprintf('CREATE TABLE %s(id INT, label CHAR(1), PRIMARY KEY(id)) E… 37 mysqli_query($link, sprintf('DROP TABLE IF EXISTS %s', $table_name)); 41 if (!@mysqli_query($link, sprintf("LOAD DATA LOCAL INFILE '%s' 48 mysqli_query($link, sprintf('DROP TABLE IF EXISTS %s', $table_name)); 54 mysqli_query($link, sprintf('DROP TABLE IF EXISTS %s', $table_name)); 99 if (!mysqli_query($link, sprintf("DELETE FROM test"))) { 104 if (!@mysqli_query($link, sprintf("LOAD DATA LOCAL INFILE '%s'
|
H A D | bug55283.phpt | 16 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));
|
/PHP-8.3/ext/standard/tests/strings/ |
H A D | bug69751.phpt | 2 Bug #69751: Change Error message of sprintf/printf for missing/typo position specifier. 7 sprintf('%$s, %2$s %1$s', "a", "b"); 13 sprintf('%3$s, %2$s %1$s', "a", "b"); 19 sprintf('%2147483648$s, %2$s %1$s', "a", "b");
|
H A D | bug23894_32bit.phpt | 2 Bug #23894 (sprintf() decimal specifiers problem) 32bit version 10 $test = sprintf("%04d", $a); 12 $test = sprintf("% 13u", $a);
|
H A D | bug23894_64bit.phpt | 2 Bug #23894 (sprintf() decimal specifiers problem) 64bit version 10 $test = sprintf("%04d", $a); 12 $test = sprintf("% 13u", $a);
|
H A D | sprintf_variation4.phpt | 2 sprintf %u With signed integer 32bit 17 var_dump(sprintf("%%u = '%u'", $n)); // unsigned integer representation of a positive integer 18 var_dump(sprintf("%%u = '%u'", $u)); // unsigned integer representation of a negative integer
|
H A D | sprintf_variation4_64bit.phpt | 2 sprintf %u With signed integer 32bit 17 var_dump(sprintf("%%u = '%u'", $n)); // unsigned integer representation of a positive integer 18 var_dump(sprintf("%%u = '%u'", $u)); // unsigned integer representation of a negative integer
|
H A D | sprintf_variation53.phpt | 2 Test sprintf() function : usage variations - with whitespaces in format strings 5 echo "*** Testing sprintf() : with white spaces in format strings ***\n"; 25 var_dump( sprintf($format, 1234) ); 31 *** Testing sprintf() : with white spaces in format strings ***
|
H A D | sprintf_variation27.phpt | 2 Test sprintf() function : usage variations - char formats with char values 5 echo "*** Testing sprintf() : char formats with char values ***\n"; 21 var_dump( sprintf($format, $char_value) ); 29 *** Testing sprintf() : char formats with char values ***
|
/PHP-8.3/ext/date/tests/ |
H A D | bug33957.phpt | 23 echo sprintf(" %02d-", date("W", strtotime("$year-12-$i"))); 24 echo sprintf("%04d ", date("o", strtotime("$year-12-$i"))); 31 echo sprintf(" %02d-", date("W", strtotime("$year-1-$i"))); 32 echo sprintf("%04d ", date("o", strtotime("$year-1-$i")));
|
/PHP-8.3/ext/standard/tests/file/windows_links/ |
H A D | readlink_compat.phpt | 22 exec(sprintf('mountvol "%s" %s', $tmpDir, $volume)); 24 exec(sprintf('mountvol "%s" /D', $tmpDir)); 31 exec(sprintf('mklink /J "%s" %s', $link, $volume)); 38 exec(sprintf('mklink /J "%s" "%s"', $link, $target)); 45 exec(sprintf('mklink /D "%s" "%s"', $link, $target)); 48 exec(sprintf('mklink /D "%s" directory', $link)); 59 exec(sprintf('mklink "%s" "%s"', $link, $filename)); 62 exec(sprintf('mklink "%s" directory\\a.php', $link));
|
/PHP-8.3/ext/sockets/tests/ |
H A D | socket_sentto_recvfrom_ipv4_udp.phpt | 13 die(sprintf( 24 die(sprintf( 28 die(sprintf( 47 die(sprintf( 58 die(sprintf(
|
H A D | socket_sentto_recvfrom_ipv6_udp.phpt | 21 die(sprintf( 32 die(sprintf( 36 die(sprintf( 55 die(sprintf( 66 die(sprintf(
|
/PHP-8.3/sapi/phpdbg/ |
H A D | test.php | 3 include (sprintf("%s/web-bootstrap.php", dirname(__FILE__))); 9 private $sprintf = "%s: %s\n"; variable in phpdbg 12 printf($this->sprintf, __METHOD__, $greeting);
|
H A D | web-bootstrap.php | 16 define("PHPDBG_BOOTSTRAPPED", sprintf("/%s", PHPDBG_BOOTSTRAP)); 44 'SCRIPT_FILENAME' => sprintf(
|
/PHP-8.3/ext/mbstring/tests/ |
H A D | simpletest.phpt | 21 echo sprintf("sprintf: %s%s\n",$s1, $s2); 32 sprintf: �ޥ���Х��ȴؿ����Ȥ��ޤ�������ʸ����Ϣ�뤵��Ƥ���Ϥ���
|
/PHP-8.3/benchmark/ |
H A D | generate_diff.php | 47 return sprintf('%.0fM', $instructions / 1e6); 49 return sprintf('%.0fK', $instructions / 1e3); 60 return sprintf('%.2f%%', $instructionDiff / $baseInstructions * 100);
|
/PHP-8.3/ext/standard/tests/array/ |
H A D | bug35014.phpt | 13 array(8.993, 7443241,988, sprintf("%u", -1)+0.44), 14 array(2,sprintf("%u", -1)),
|
H A D | bug35014_64bit.phpt | 15 array(8.993, 7443241,988, sprintf("%u", -1)+0.44), 16 array(2,sprintf("%u", -1)),
|