/PHP-5.5/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_prepare_load_data.phpt | 61 …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 D | pdo_mysql_stmt_variable_columncount.phpt | 15 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 D | pdo_mysql_multi_stmt_nextrowset.phpt | 12 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 D | pdo_mysql_prepare_emulated.phpt | 100 …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 D | pdo_mysql_attr_server_info.phpt | 43 if (isset($uptime) && !preg_match(sprintf('/Uptime: %d/i', $uptime), $info))
|
H A D | pdo_mysql_stmt_getcolumnmeta.phpt | 73 …$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 D | pdo_mysql_attr_max_buffer_size.phpt | 33 $db->exec(sprintf('CREATE TABLE test(id INT, val LONGBLOB) ENGINE = %s', PDO_MYSQL_TEST_ENGINE));
|
H A D | pdo_mysql_bit.phpt | 19 …$sql = sprintf('CREATE TABLE test(id INT, label %s) ENGINE=%s', $sql_type, MySQLPDOTest::getTableE…
|
H A D | pdo_mysql_exec.phpt | 40 …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 D | htmlentities20.phpt | 66 … 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 D | regerror.c | 187 sprintf(s, "%02x", (v & 0377)); in sprint_byte() 192 sprintf(s, "\\x%02x", (v & 0377)); in sprint_byte_with_x()
|
H A D | testu.c | 38 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 D | php.h | 40 #undef sprintf 41 #define sprintf php_sprintf macro
|
/PHP-5.5/ext/mysqli/tests/ |
H A D | mysqli_fetch_field_flags.phpt | 120 $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 D | mysqli_no_reconnect.phpt | 95 @mysqli_query($link, sprintf('KILL %d', $thread_id_timeout)); 97 mysqli_query($link, sprintf('KILL %d', $thread_id_timeout));
|
H A D | mysqli_stmt_bind_result_bit.phpt | 47 …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 D | mysqli_stmt_execute_stored_proc_next_result.phpt | 9 …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 D | mysqli_fetch_array_large.phpt | 21 $sql .= sprintf("('%s'), ", $random_char); 115 …!mysqli_query($link, sprintf("CREATE TABLE test(id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, label …
|
H A D | mysqli_real_escape_string_nobackslash.phpt | 36 if (!mysqli_query($link, sprintf('INSERT INTO test(id, label) VALUES (100, "%s")',
|
H A D | bug53503.phpt | 13 die(sprintf("skip %s, [%d] %s", $msg, $link->errno, $link->error));
|
/PHP-5.5/ext/standard/tests/serialize/ |
H A D | bug67072_2.phpt | 12 $object = unserialize(sprintf('O:%d:"%s":0:{}', strlen($className), $className));
|
/PHP-5.5/ext/pdo_pgsql/tests/ |
H A D | bug69362.phpt | 50 $sql = sprintf($template, "''mypassword");
|
/PHP-5.5/ext/mysql/tests/ |
H A D | mysql_drop_db.phpt | 26 …die(sprintf("[005] Skipping, can't create test database. [%d] %s\n", mysql_errno($link), mysql_err…
|
/PHP-5.5/tests/classes/ |
H A D | tostring_001.phpt | 68 echo sprintf("%s", $o);
|
/PHP-5.5/ext/sockets/tests/ |
H A D | socket_sentto_recvfrom_unix.phpt | 22 $address = sprintf("/tmp/%s.sock", uniqid());
|