Home
last modified time | relevance | path

Searched refs:sprintf (Results 226 – 250 of 361) sorted by relevance

12345678910>>...15

/PHP-5.5/ext/pdo_mysql/tests/
H A Dpdo_mysql_prepare_load_data.phpt61 …exec_and_count(3, $db, sprintf('CREATE TABLE test(id INT NOT NULL PRIMARY KEY, col1 CHAR(10)) ENGI…
79 …$stmt = $db->prepare(sprintf("LOAD DATA INFILE %s INTO TABLE test FIELDS TERMINATED BY ';' LINES T…
H A Dpdo_mysql_stmt_variable_columncount.phpt15 die(sprintf("skip Cannot determine MySQL Server version\n"));
19 die(sprintf("skip Need MySQL Server 5.0.0+, found %d.%02d.%02d (%d)\n",
H A Dpdo_mysql_multi_stmt_nextrowset.phpt12 die(sprintf("skip Cannot determine MySQL Server version\n"));
16 die(sprintf("skip Need MySQL Server 5.0.0+, found %d.%02d.%02d (%d)\n",
H A Dpdo_mysql_prepare_emulated.phpt100 …prepex(6, $db, sprintf('CREATE TABLE test(id INT, label CHAR(255)) ENGINE=%s', PDO_MYSQL_TEST_ENGI…
182 $sql = sprintf("SELECT id, label FROM test WHERE (label LIKE %s) AND (id = :placeholder)",
189 $sql = sprintf("SELECT id, label FROM test WHERE (id = :placeholder) OR (label LIKE %s)",
202 …prepex(46, $db, sprintf('CREATE TABLE test(id INT, label CHAR(255)) ENGINE=%s', PDO_MYSQL_TEST_ENG…
291 $sql = sprintf("SELECT id, label FROM test WHERE (label LIKE %s) AND (id = ?)",
298 $sql = sprintf("SELECT id, label FROM test WHERE (id = ?) OR (label LIKE %s)",
H A Dpdo_mysql_attr_server_info.phpt43 if (isset($uptime) && !preg_match(sprintf('/Uptime: %d/i', $uptime), $info))
H A Dpdo_mysql_stmt_getcolumnmeta.phpt73 …$sql = sprintf('CREATE TABLE test(id INT, label %s) ENGINE=%s', $sql_type, MySQLPDOTest::getTableE…
79 if (!$db->exec(sprintf("INSERT INTO test(id, label) VALUES (1, '%s')", $value))) {
237 …$sql = sprintf('CREATE TABLE test(id INT, label INT UNIQUE) ENGINE = %s', MySQLPDOTest::getTableEn…
258 …$sql = sprintf('CREATE TABLE test(id INT PRIMARY KEY NOT NULL AUTO_INCREMENT) ENGINE = %s', MySQLP…
279 …$sql = sprintf('CREATE TABLE test(id INT, label1 INT, label2 INT, INDEX idx1(label1, label2)) ENGI…
H A Dpdo_mysql_attr_max_buffer_size.phpt33 $db->exec(sprintf('CREATE TABLE test(id INT, val LONGBLOB) ENGINE = %s', PDO_MYSQL_TEST_ENGINE));
H A Dpdo_mysql_bit.phpt19 …$sql = sprintf('CREATE TABLE test(id INT, label %s) ENGINE=%s', $sql_type, MySQLPDOTest::getTableE…
H A Dpdo_mysql_exec.phpt40 …exec_and_count(3, $db, sprintf('CREATE TABLE test(id INT NOT NULL PRIMARY KEY, col1 CHAR(10)) ENGI…
56 …exec_and_count(36, $db, sprintf('CREATE TABLE test(id INT NOT NULL PRIMARY KEY, col1 CHAR(10)) ENG…
154 …$tmp = @$db->exec(sprintf('DROP TABLE IF EXISTS test; CREATE TABLE test(id INT) ENGINE=%s', PDO_MY…
/PHP-5.5/ext/standard/tests/strings/
H A Dhtmlentities20.phpt66 … if ($a == "" && $b == "") { echo sprintf("%05X", $tests[$i]), ": INVALID SEQUENCE\n"; continue; }
67 echo sprintf("%05X", $tests[$i]), ": ", bin2hex($a), " ", bin2hex($b), "\n";
/PHP-5.5/ext/mbstring/oniguruma/
H A Dregerror.c187 sprintf(s, "%02x", (v & 0377)); in sprint_byte()
192 sprintf(s, "\\x%02x", (v & 0377)); in sprint_byte_with_x()
H A Dtestu.c38 sprintf(q, "\\%03o", c); in uconv()
42 sprintf(q, "%c", c); in uconv()
47 sprintf(q, "\\%03o", c); in uconv()
50 sprintf(q, "\\%03o", c); in uconv()
/PHP-5.5/main/
H A Dphp.h40 #undef sprintf
41 #define sprintf php_sprintf macro
/PHP-5.5/ext/mysqli/tests/
H A Dmysqli_fetch_field_flags.phpt120 $create = sprintf('CREATE TABLE test(id INT, col1 %s)', $column_def);
208 $create .= sprintf('%s, ', $v);
210 $create = sprintf('%s)', substr($create, 0, -2));
H A Dmysqli_no_reconnect.phpt95 @mysqli_query($link, sprintf('KILL %d', $thread_id_timeout));
97 mysqli_query($link, sprintf('KILL %d', $thread_id_timeout));
H A Dmysqli_stmt_bind_result_bit.phpt47 …if (!mysqli_query($link_ins, sprintf("CREATE TABLE test(id BIGINT, bit_value BIT(%d) NOT NULL, bit…
103 …$sql = sprintf("SELECT id, BIN(bit_value) AS _bin, bit_value, bit_value + 0 AS _bit_value0, bit_nu…
H A Dmysqli_stmt_execute_stored_proc_next_result.phpt9 …die(sprintf('skip Cannot connect to MySQL, [%d] %s.', mysqli_connect_errno(), mysqli_connect_error…
12 die(sprintf('skip Needs MySQL 5.5.3+, found version %d.', mysqli_get_server_version($link)));
H A Dmysqli_fetch_array_large.phpt21 $sql .= sprintf("('%s'), ", $random_char);
115 …!mysqli_query($link, sprintf("CREATE TABLE test(id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, label …
H A Dmysqli_real_escape_string_nobackslash.phpt36 if (!mysqli_query($link, sprintf('INSERT INTO test(id, label) VALUES (100, "%s")',
H A Dbug53503.phpt13 die(sprintf("skip %s, [%d] %s", $msg, $link->errno, $link->error));
/PHP-5.5/ext/standard/tests/serialize/
H A Dbug67072_2.phpt12 $object = unserialize(sprintf('O:%d:"%s":0:{}', strlen($className), $className));
/PHP-5.5/ext/pdo_pgsql/tests/
H A Dbug69362.phpt50 $sql = sprintf($template, "''mypassword");
/PHP-5.5/ext/mysql/tests/
H A Dmysql_drop_db.phpt26 …die(sprintf("[005] Skipping, can't create test database. [%d] %s\n", mysql_errno($link), mysql_err…
/PHP-5.5/tests/classes/
H A Dtostring_001.phpt68 echo sprintf("%s", $o);
/PHP-5.5/ext/sockets/tests/
H A Dsocket_sentto_recvfrom_unix.phpt22 $address = sprintf("/tmp/%s.sock", uniqid());

Completed in 39 milliseconds

12345678910>>...15