Home
last modified time | relevance | path

Searched refs:id (Results 251 – 275 of 858) sorted by relevance

1...<<11121314151617181920>>...35

/PHP-5.6/ext/mysql/tests/
H A Dmysql_fetch_assoc.phpt24 if (!$res = mysql_query("SELECT id, label FROM test ORDER BY id LIMIT 1", $link)) {
50 if (!$res = mysql_query("SELECT id, label, id AS _id, CONCAT(label, 'a') _label, NULL as _foo FROM …
69 [%u|b%"id"]=>
95 [%u|b%"id"]=>
/PHP-5.6/ext/mysqli/tests/
H A Dmysqli_stmt_send_long_data_packet_size_libmysql.phpt22 …sqli_query($link, sprintf("CREATE TABLE test(id INT NOT NULL AUTO_INCREMENT, label LONGBLOB, PRIMA…
25 if (!mysqli_stmt_prepare($stmt, "INSERT INTO test(id, label) VALUES (?, ?)"))
28 $id = null;
30 if (!mysqli_stmt_bind_param($stmt, "ib", $id, $label))
62 $id = 1;
82 $id = 2;
H A Dmysqli_auth_pam.phpt47 if (!$link->query("CREATE TABLE test (id INT)") || !$link->query("INSERT INTO test(id) VALUES (1)"))
71 if (!$res = $link->query("SELECT id FROM test WHERE id = 1"))
78 if ($row['id'] != 1) {
79 printf("[004] Expecting 1 got %s/'%s'", gettype($row['id']), $row['id']);
H A Dmysqli_stmt_send_long_data_packet_size_mysqlnd.phpt22 …sqli_query($link, sprintf("CREATE TABLE test(id INT NOT NULL AUTO_INCREMENT, label LONGBLOB, PRIMA…
25 if (!mysqli_stmt_prepare($stmt, "INSERT INTO test(id, label) VALUES (?, ?)"))
28 $id = null;
30 if (!mysqli_stmt_bind_param($stmt, "ib", $id, $label))
59 $id = 1;
64 TODO - we skip this because of the open bug http://bugs.mysql.com/bug.php?id=26824
87 $id = 2;
H A Dmysqli_stmt_send_long_data.phpt33 …sqli_query($link, sprintf("CREATE TABLE test(id INT NOT NULL AUTO_INCREMENT, label LONGBLOB, PRIMA…
36 if (!mysqli_stmt_prepare($stmt, "INSERT INTO test(id, label) VALUES (?, ?)"))
39 $id = null;
41 if (!mysqli_stmt_bind_param($stmt, "ib", $id, $label))
95 $id = 1;
100 if (!$res = mysqli_query($link, "SELECT id, label FROM test ORDER BY id"))
112 if (empty($row['id']) || empty($row['label']) || ($row['id'] != 1))
H A Dmysqli_stmt_get_result.phpt39 if (!mysqli_stmt_prepare($stmt, "SELECT id, label FROM test ORDER BY id LIMIT 2"))
64 if (!mysqli_stmt_prepare($stmt, "SELECT id, label FROM test ORDER BY id LIMIT 2"))
87 if (!mysqli_stmt_prepare($stmt, "SELECT id, label FROM test ORDER BY id LIMIT 2"))
102 if (true !== ($tmp = mysqli_stmt_bind_result($stmt, $id, $label))) {
116 if (!mysqli_stmt_prepare($stmt, "SELECT id, label FROM test ORDER BY id LIMIT 2"))
122 $id = NULL;
124 if (true !== ($tmp = mysqli_stmt_bind_result($stmt, $id, $label)))
174 [%u|b%"id"]=>
180 [%u|b%"id"]=>
H A Dmysqli_stmt_affected_rows.phpt33 …if (!mysqli_stmt_prepare($stmt, 'CREATE TABLE test(id INT, label CHAR(1), PRIMARY KEY(id)) ENGINE …
44 if (!mysqli_stmt_prepare($stmt, "INSERT INTO test(id, label) VALUES (1, 'a')") ||
51 if (!mysqli_stmt_prepare($stmt, "INSERT INTO test(id, label) VALUES (100, 'z')") ||
61 if (!mysqli_stmt_prepare($stmt, "INSERT INTO test(id, label) VALUES (100, 'z')") ||
73 …if (!mysqli_stmt_prepare($stmt, "INSERT INTO test(id, label) VALUES (1, 'a') ON DUPLICATE KEY UPDA…
100 if (!($res = mysqli_query($link, "SELECT count(id) AS num FROM test")) ||
109 if (!mysqli_stmt_prepare($stmt, "INSERT INTO test(id, label) SELECT id + 10, label FROM test") ||
139 if (!mysqli_stmt_prepare($stmt, "UPDATE test SET label = 'a' WHERE id = 2") ||
146 if (!mysqli_stmt_prepare($stmt, "UPDATE test SET label = 'a' WHERE id = 2") ||
156 if (!mysqli_stmt_prepare($stmt, "UPDATE test SET label = 'a' WHERE id = 100") ||
[all …]
H A Dmysqli_stmt_bind_result.phpt27 if (!mysqli_stmt_prepare($stmt, "SELECT id, label FROM test ORDER BY id LIMIT 1"))
36 $id = null;
43 if (!mysqli_stmt_prepare($stmt, "SELECT id, label FROM test ORDER BY id LIMIT 1"))
46 if (false !== ($tmp = mysqli_stmt_bind_result($stmt, $id)))
59 var_dump($id);
72 …if (!mysqli_query($link, sprintf("CREATE TABLE test(id INT, label %s, PRIMARY KEY(id)) ENGINE = %s…
87 $id = null;
94 for ($id = 1; $id < 4; $id++) {
120 if (!mysqli_stmt_bind_result($stmt, $id, $bind_res)) {
309 $id = null;
[all …]
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…
56 if (!mysqli_stmt_prepare($stmt_ins, "INSERT INTO test(id, bit_value) VALUES (?, ?)")) {
103 …$sql = sprintf("SELECT id, BIN(bit_value) AS _bin, bit_value, bit_value + 0 AS _bit_value0, bit_nu…
110 … $row = array('id' => -1, '_bin' => - 1, 'bit_value' => -1, '_bit_value0' => -1, 'bit_null' => -1);
111 …if (!mysqli_stmt_bind_result($stmt_sel, $row['id'], $row['_bin'], $row['bit_value'], $row['_bit_va…
126 if (($value != $row['id']) || (($bin != $row['_bin']) && ($bin2 != $row['_bin']))) {
128 … printf("[012 - %d] Insert of %s in BIT(%d) column might have failed. id = %s, bin = %s (%s/%s)\n",
129 $bits, $value, $bits, $row['id'], $row['_bin'], $bin, $bin2);
/PHP-5.6/ext/oci8/tests/
H A Dbind_sqltafc.phpt14 …"create table bind_sqltafc_tab (id number, char_t char(1), char_t10 char(10), varchar2_t10 varchar…
22 function q($c, $id)
24 $s = oci_parse($c, "select * from bind_sqltafc_tab where id = $id");
36 $s = oci_parse($c, "INSERT INTO bind_sqltafc_tab (id, char_t, char_t10, varchar2_t10, number_t) VAL…
51 $s = oci_parse($c, "INSERT INTO bind_sqltafc_tab (id, char_t, char_t10, varchar2_t10, number_t) VAL…
66 $s = oci_parse($c, "INSERT INTO bind_sqltafc_tab (id, char_t, char_t10, varchar2_t10, number_t) VAL…
H A Dlob_001.phpt17 "create table lob_001_tab (id number, b1 blob)",
24 $statement = oci_parse($c, "insert into lob_001_tab (id, b1) values (1, empty_blob()) returning b1 …
42 $s = oci_parse($c, "select b1 from lob_001_tab where id = 1");
48 $statement = oci_parse($c, "insert into lob_001_tab (id, b1) values (2, empty_blob()) returning b1 …
54 $s = oci_parse($c, "select b1 from lob_001_tab where id = 2");
/PHP-5.6/ext/pdo_mysql/tests/
H A Dpdo_mysql_prepare_native_named_placeholder.phpt18 $db->exec(sprintf('CREATE TABLE test(id INT, label CHAR(255)) ENGINE=%s', PDO_MYSQL_TEST_ENGINE));
25 $stmt = $db->prepare("INSERT INTO test(id, label) VALUES (100, ':placeholder')");
38 $stmt = $db->prepare('SELECT id, label FROM test');
48 $stmt = $db->prepare("INSERT INTO test(id, label) VALUES(101, ':placeholder')");
58 $stmt = $db->prepare('SELECT id, label FROM test ORDER BY id');
86 ["id"]=>
H A Dpdo_mysql_stmt_rowcount.phpt17 if (0 !== ($tmp = $db->query('SELECT id FROM test WHERE 1 = 0')->rowCount()))
20 if (1 !== ($tmp = $db->query('SELECT id FROM test WHERE id = 1')->rowCount()))
H A Dpdo_mysql_prepare_match_against.phpt17 $db->exec('CREATE TABLE test(id INT, label CHAR(255)) ENGINE=MyISAM');
20 $stmt = $db->prepare('SELECT id, label FROM test WHERE MATCH label AGAINST (:placeholder)');
24 $stmt = $db->prepare('SELECT id, label FROM test WHERE MATCH label AGAINST (:placeholder)');
28 $stmt = $db->prepare('SELECT id, label FROM test WHERE MATCH label AGAINST (?)');
/PHP-5.6/ext/pdo/tests/
H A Dpdo_018.phpt70 $db->exec('CREATE TABLE classtypes(id int NOT NULL PRIMARY KEY, name VARCHAR(20) NOT NULL UNIQUE)');
74 $db->exec('CREATE TABLE test(id int NOT NULL PRIMARY KEY, classtype int, val VARCHAR(255))');
79 var_dump($db->query('SELECT id, name FROM classtypes ORDER by id')->fetchAll(PDO::FETCH_COLUMN|PDO:…
87 $stmt = $db->prepare('SELECT id FROM classtypes WHERE name=:cname');
97 $stmt->bindColumn('id', $ctype);
108 $stmt = $db->prepare('INSERT INTO test VALUES(:id, :classtype, :val)');
109 $stmt->bindParam(':id', $idx);
141 …est.val AS val FROM test LEFT JOIN classtypes ON test.classtype=classtypes.id')->fetchAll(PDO::FET…
150 …t LEFT JOIN classtypes ON test.classtype=classtypes.id WHERE (classtypes.id IS NULL OR classtypes.
153 …t LEFT JOIN classtypes ON test.classtype=classtypes.id WHERE (classtypes.id IS NULL OR classtypes.
H A Dpecl_bug_5772.phpt17 $db->exec("CREATE TABLE test (id int NOT NULL, PRIMARY KEY (id))");
18 $db->exec("INSERT INTO test (id) VALUES (1)");
H A Dbug_71447.phpt20 $db->exec('CREATE TABLE test(id int)');
78 WHERE id = ?
89 WHERE id = :id
92 $stmt->execute(['id' => 1]);
H A Dpdo_032.phpt17 $db->exec('CREATE TABLE test(id int NOT NULL PRIMARY KEY, val VARCHAR(10))');
41 ["id"]=>
48 ["id"]=>
55 ["id"]=>
/PHP-5.6/ext/dom/
H A Dnode.c1404 zval *id; in PHP_FUNCTION() local
1432 zval *id; in PHP_FUNCTION() local
1493 zval *id; in PHP_FUNCTION() local
1514 zval *id; in PHP_FUNCTION() local
1536 zval *id; in PHP_FUNCTION() local
1599 zval *id; in PHP_FUNCTION() local
1649 zval *id; in PHP_FUNCTION() local
1682 zval *id; in PHP_FUNCTION() local
1752 zval *id; in dom_canonicalization() local
1948 zval *id; in PHP_METHOD() local
[all …]
/PHP-5.6/tests/classes/
H A Ddestructor_and_globals.phpt14 protected $id;
19 $this->id = $test_num++;
23 echo 'Id: '.$this->id."\n";
/PHP-5.6/ext/sqlite3/tests/
H A Dsqlite3_24_last_insert_rowid.phpt12 var_dump($db->exec('CREATE TABLE test (time INTEGER, id STRING)'));
15 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'a')"));
17 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'b')"));
/PHP-5.6/ext/session/tests/
H A Dbug60634_error_3.phpt22 function read($id) {
26 function write($id, $session_data) {
31 function destroy($id) {
H A Dbug60634_error_5.phpt22 function read($id) {
26 function write($id, $session_data) {
30 function destroy($id) {
/PHP-5.6/ext/pgsql/tests/
H A Dpg_meta_data_001.phpt14 pg_query('CREATE TABLE phptests.foo (id INT, id2 INT)');
16 pg_query('CREATE TABLE foo (id INT, id3 INT)');
31 ["id"]=>
67 ["id"]=>
103 ["id"]=>
/PHP-5.6/Zend/tests/
H A Dbug48004.phpt10 $data->id = 1;
20 [id] => 1

Completed in 178 milliseconds

1...<<11121314151617181920>>...35