Home
last modified time | relevance | path

Searched refs:sprintf (Results 251 – 275 of 361) sorted by relevance

1...<<1112131415

/PHP-5.5/ext/xml/tests/
H A Dxml003.phpt67 die(sprintf("XML error: %s at line %d\n",
H A Dxml001.phpt26 die(sprintf("XML error: %s at line %d\n",
H A Dxml002.phpt68 die(sprintf("XML error: %s at line %d\n",
/PHP-5.5/ext/mysql/tests/
H A Dmysql_set_charset.phpt48 if (!($res = mysql_query(sprintf('SHOW CHARACTER SET LIKE "%s"', $charset), $link)))
H A Dmysql_fetch_field.phpt86 …if (!mysql_query(sprintf("CREATE TABLE test(id INT, label %s) ENGINE = %s", $type_name, $engine), …
92 $insert = sprintf("INSERT INTO test(id, label) VALUES (1, '%s')", $type_desc[0]);
94 $insert = sprintf("INSERT INTO test(id, label) VALUES (1, %s)", $type_desc[0]);
H A Dmysql_connect.phpt89 if (putenv(sprintf('MYSQL_TCP_PORT=%d', $port))) {
95 } else if (putenv(sprintf('MYSQL_TCP_PORT=%d', $port + 1))) {
H A D003.phpt31 if (!mysql_query(sprintf("INSERT INTO test VALUES('%s')", $str), $link))
H A Dmysql_create_db.phpt27 …die(sprintf("[004] Cannot create database, aborting test, [%d] %s\n", mysql_errno($link), mysql_er…
H A Dmysql_fetch_array.phpt78 …if (!mysql_query($sql = sprintf("CREATE TABLE test(id INT NOT NULL, label %s, PRIMARY KEY(id)) ENG…
83 …if (is_null($php_value) && !mysql_query($sql = sprintf("INSERT INTO test(id, label) VALUES (1, NUL…
89 …if (is_int($sql_value) && !mysql_query(sprintf("INSERT INTO test(id, label) VALUES (1, '%d')", $sq…
92 …} else if (!is_int($sql_value) && !mysql_query(sprintf("INSERT INTO test(id, label) VALUES (1, '%s…
/PHP-5.5/ext/mysqli/tests/
H A Dmysqli_debug_control_string.phpt59 …$trace_file = sprintf('%s%s%s', sys_get_temp_dir(), DIRECTORY_SEPARATOR, 'mysqli_debug_phpt.trace'…
H A Dmysqli_stmt_execute.phpt9 …die(sprintf('skip Cannot connect to MySQL, [%d] %s.', mysqli_connect_errno(), mysqli_connect_error…
12 die(sprintf('skip Needs MySQL 4.1+, found version %d.', mysqli_get_server_version($link)));
H A Dmysqli_autocommit.phpt11 …die(sprintf("skip Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port…
16 die(sprintf("Needs InnoDB support, [%d] %s", $link->errno, $link->error));
H A Dmysqli_options_init_command.phpt21 !mysqli_query($link, sprintf("CREATE TABLE test(id INT) ENGINE = %s\n", $engine)) ||
/PHP-5.5/ext/standard/
H A Dpassword.c345 sprintf(hash_format, "$2y$%02ld$", cost); in PHP_FUNCTION()
427 sprintf(hash, "%s%s", hash_format, salt); in PHP_FUNCTION()
/PHP-5.5/ext/pdo_mysql/tests/
H A Dpdo_mysql_prepare_native_placeholder_everywhere.phpt20 $db->exec(sprintf('CREATE TABLE test(id INT, label CHAR(255)) ENGINE=%s', PDO_MYSQL_TEST_ENGINE));
H A Dpdo_mysql_stmt_blobs.phpt28 …$db->exec(sprintf('CREATE TABLE test(id INT, label %s) ENGINE=%s', $sql_type, PDO_MYSQL_TEST_ENGIN…
H A Dpdo_mysql_subclass.phpt51 $args .= sprintf("%s, ", var_export($v, true));
H A Dpdo_mysql_stmt_nextrowset.phpt14 die(sprintf("skip Cannot determine MySQL Server version\n"));
18 die(sprintf("skip Need MySQL Server 5.0.0+, found %d.%02d.%02d (%d)\n",
H A Dpdo_mysql_prepare_emulated_anonymous.phpt21 $db->exec(sprintf('CREATE TABLE test(id INT, label CHAR(255)) ENGINE=%s', PDO_MYSQL_TEST_ENGINE));
H A Dpdo_mysql_prepare_emulated_placeholder_everywhere.phpt22 $db->exec(sprintf('CREATE TABLE test(id INT, label CHAR(255)) ENGINE=%s', PDO_MYSQL_TEST_ENGINE));
H A Dpdo_mysql_exec_select.phpt40 …exec_and_count(3, $db, sprintf('CREATE TABLE test(id INT NOT NULL PRIMARY KEY, col1 CHAR(10)) ENGI…
/PHP-5.5/ext/standard/tests/strings/
H A Dhtml_entity_decode_iso8859-5.phpt105 $ent = sprintf("&#x%X;", $u);
108 echo sprintf("%s: %s => %s\n", $v[1], $ent, $d[1]);
110 $ent = sprintf("&#x%X;", $v[0]);
114 echo sprintf("%s => %s\n\n", $ent, $res);
/PHP-5.5/ext/phar/tests/
H A Dphar_createdefaultstub.phpt265 $ret['m'][$savepath][3] = sprintf('%u', $ret['m'][$savepath][3]
301 if ($entry[3] != sprintf("%u", crc32((binary)$data) & 0xffffffff)) {
559 $ret['m'][$savepath][3] = sprintf('%u', $ret['m'][$savepath][3]
595 if ($entry[3] != sprintf("%u", crc32((binary)$data) & 0xffffffff)) {
861 $ret['m'][$savepath][3] = sprintf('%u', $ret['m'][$savepath][3]
897 if ($entry[3] != sprintf("%u", crc32((binary)$data) & 0xffffffff)) {
H A Dphar_setdefaultstub.phpt285 $ret['m'][$savepath][3] = sprintf('%u', $ret['m'][$savepath][3]
321 if ($entry[3] != sprintf("%u", crc32((binary)$data) & 0xffffffff)) {
580 $ret['m'][$savepath][3] = sprintf('%u', $ret['m'][$savepath][3]
616 if ($entry[3] != sprintf("%u", crc32((binary)$data) & 0xffffffff)) {
875 $ret['m'][$savepath][3] = sprintf('%u', $ret['m'][$savepath][3]
911 if ($entry[3] != sprintf("%u", crc32((binary)$data) & 0xffffffff)) {
/PHP-5.5/ext/mysqlnd/
H A Dmysqlnd_statistics.c208 sprintf((char *)&tmp, MYSQLND_LLU_SPEC, stats->values[i]); in mysqlnd_fill_stats_hash()

Completed in 32 milliseconds

1...<<1112131415