Home
last modified time | relevance | path

Searched refs:id (Results 151 – 175 of 826) sorted by relevance

12345678910>>...34

/PHP-5.5/ext/mysql/tests/
H A Dmysql_thread_id.phpt20 if (!is_int($id = mysql_thread_id($link)) || (0 === $id))
22 gettype($id), $id, mysql_errno($link), mysql_error($link));
28 assert($id === $id_def);
/PHP-5.5/ext/pdo/tests/
H A Dpdo_020.phpt17 $db->exec('CREATE TABLE test(id INT NOT NULL PRIMARY KEY, val VARCHAR(10), val2 VARCHAR(16))');
22 foreach (array('SELECT id, val FROM test', 'SELECT id, val, val2 FROM test', 'SELECT COUNT(*) FROM …
32 Counted 2 columns after SELECT id, val FROM test.
33 Counted 3 columns after SELECT id, val, val2 FROM test.
H A Dpecl_bug_5809.phpt17 $db->exec("CREATE TABLE test (id int NOT NULL, PRIMARY KEY (id))");
18 $db->exec("INSERT INTO test (id) VALUES (1)");
22 $stmt = $db->prepare('SELECT * FROM test WHERE id = ?');
H A Dpdo_027.phpt17 $db->exec('create table test (id int, name varchar(10))');
18 $db->exec("INSERT INTO test (id,name) VALUES(1,'test1')");
19 $db->exec("INSERT INTO test (id,name) VALUES(2,'test2')");
22 echo "lazy: " . $v->id.$v->name."\n";
/PHP-5.5/ext/odbc/
H A Dbirdstep.c60 ZEND_ARG_INFO(0, id)
327 long id; in PHP_FUNCTION() local
334 PHP_BIRDSTEP_CHK_LNK(id); in PHP_FUNCTION()
575 long id; in PHP_FUNCTION() local
583 PHP_BIRDSTEP_CHK_LNK(id); in PHP_FUNCTION()
598 long id; in PHP_FUNCTION() local
606 PHP_BIRDSTEP_CHK_LNK(id); in PHP_FUNCTION()
621 long id; in PHP_FUNCTION() local
629 PHP_BIRDSTEP_CHK_LNK(id) in PHP_FUNCTION()
644 long id; in PHP_FUNCTION() local
[all …]
/PHP-5.5/ext/pdo_mysql/tests/
H A Dpdo_mysql_exec.phpt41 exec_and_count(4, $db, "INSERT INTO test(id, col1) VALUES (1, 'a')", 1);
42 exec_and_count(5, $db, "INSERT INTO test(id, col1) VALUES (2, 'b'), (3, 'c')", 2);
43 exec_and_count(6, $db, "UPDATE test SET id = 4 WHERE id = 3", 1);
44 …exec_and_count(7, $db, "INSERT INTO test(id, col1) VALUES (1, 'd') ON DUPLICATE KEY UPDATE id = 3"…
45 exec_and_count(8, $db, "UPDATE test SET id = 5 WHERE id = 5", 0);
46 …exec_and_count(9, $db, "INSERT INTO test(id, col1) VALUES (5, 'e') ON DUPLICATE KEY UPDATE id = 6"…
47 exec_and_count(10, $db, "REPLACE INTO test(id, col1) VALUES (5, 'f')", 2);
48 exec_and_count(11, $db, "REPLACE INTO test(id, col1) VALUES (6, 'g')", 1);
49 exec_and_count(12, $db, 'DELETE FROM test WHERE id > 2', 4);
57 exec_and_count(37, $db, "INSERT INTO test(id, col1) VALUES (1, 'a')", 1);
[all …]
H A Dtable.inc7 $db->exec('CREATE TABLE test(id INT, label CHAR(1), PRIMARY KEY(id)) ENGINE=' . $engine);
8 $db->exec('INSERT INTO test(id, label) VALUES (1, "a"), (2, "b"), (3, "c"), (4, "d"), (5, "e"), (6,…
/PHP-5.5/ext/session/tests/
H A Dsession_set_save_handler_iface_001.phpt36 public function read($id) {
37 return @file_get_contents($this->path . $id);
40 public function write($id, $data) {
41 return file_put_contents($this->path . $id, $data);
44 public function destroy($id) {
45 @unlink($this->path . $id);
H A Dsession_set_save_handler_class_002.phpt36 public function read($id) {
37 return @file_get_contents($this->path . $id);
40 public function write($id, $data) {
41 return file_put_contents($this->path . $id, $data);
44 public function destroy($id) {
45 @unlink($this->path . $id);
H A Dsession_set_save_handler_class_011.phpt32 public function write($id, $data) {
36 echo "(#$this->num) writing $id = $data\n";
38 return parent::write($id, $data);
41 $id = session_id();
45 echo "(#$this->num) closing $id\n";
/PHP-5.5/ext/sqlite3/tests/
H A Dsqlite3_26_reset_prepared_stmt.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')"));
16 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'b')"));
19 $stmt = $db->prepare("SELECT * FROM test WHERE id = ? ORDER BY id ASC");
H A Dsqlite3_27_reset_prepared_stmt_result.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')"));
16 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'b')"));
19 $stmt = $db->prepare("SELECT * FROM test WHERE id = ? ORDER BY id ASC");
H A Dsqlite3_32_last_insert_rowid_param.phpt14 var_dump($db->exec('CREATE TABLE test (time INTEGER, id STRING)'));
17 var_dump($db->exec('INSERT INTO test (time, id) VALUES(2, 1)'));
19 echo "Request last inserted id\n";
35 Request last inserted id
/PHP-5.5/ext/intl/tests/
H A Dcalendar_createInstance_variation1.phpt47 [id] => Europe/Amsterdam
55 [id] => Europe/Lisbon
63 [id] => Europe/Lisbon
71 [id] => Europe/Amsterdam
79 [id] => Europe/Lisbon
/PHP-5.5/ext/sybase_ct/tests/
H A Dtest_fetch_object.phpt24 1 as "id",
50 'id' => 1,
56 'id' => 1,
62 'id' => 1,
70 'id' => 1,
/PHP-5.5/ext/oci8/tests/
H A Dbind_long_raw.phpt13 $stmt = oci_parse($c, "create table phptestlngraw( id number(10), fileimage long raw)");
16 $stmt = oci_parse ($c, "insert into phptestlngraw (id, fileimage) values (:id, :fileimage)");
20 oci_bind_by_name( $stmt, ":id", $i, -1);
H A Dbind_raw.phpt13 $stmt = oci_parse($c, "create table phptestrawtable( id number(10), fileimage raw(1000))");
16 $stmt = oci_parse ($c, "insert into phptestrawtable (id, fileimage) values (:id, :fileimage)");
21 oci_bind_by_name( $stmt, ":id", $i, -1);
H A Dfetch_row.phpt14 "create table fetch_row_tab (id number, value number)",
15 "insert into fetch_row_tab (id, value) values (1,1)",
16 "insert into fetch_row_tab (id, value) values (1,1)",
17 "insert into fetch_row_tab (id, value) values (1,1)",
H A Dprefetch.phpt14 "create table prefetch_tab (id number, value number)",
15 "insert into prefetch_tab (id, value) values (1,1)",
16 "insert into prefetch_tab (id, value) values (1,1)",
17 "insert into prefetch_tab (id, value) values (1,1)",
H A Dprefetch_old.phpt12 "create table prefetch_old_tab (id number, value number)",
13 "insert into prefetch_old_tab (id, value) values (1,1)",
14 "insert into prefetch_old_tab (id, value) values (1,1)",
15 "insert into prefetch_old_tab (id, value) values (1,1)",
H A Ddefault_prefetch.phpt16 "create table default_prefetch_tab (id number, value number)",
17 "insert into default_prefetch_tab (id, value) values (1,1)",
18 "insert into default_prefetch_tab (id, value) values (1,1)",
19 "insert into default_prefetch_tab (id, value) values (1,1)",
H A Ddefault_prefetch0.phpt16 "create table default_prefetch_tab (id number, value number)",
17 "insert into default_prefetch_tab (id, value) values (1,1)",
18 "insert into default_prefetch_tab (id, value) values (1,1)",
19 "insert into default_prefetch_tab (id, value) values (1,1)",
H A Ddefault_prefetch1.phpt16 "create table default_prefetch1_tab (id number, value number)",
17 "insert into default_prefetch1_tab (id, value) values (1,1)",
18 "insert into default_prefetch1_tab (id, value) values (1,1)",
19 "insert into default_prefetch1_tab (id, value) values (1,1)",
H A Ddefault_prefetch2.phpt16 "create table default_prefetch2_tab (id number, value number)",
17 "insert into default_prefetch2_tab (id, value) values (1,1)",
18 "insert into default_prefetch2_tab (id, value) values (1,1)",
19 "insert into default_prefetch2_tab (id, value) values (1,1)",
/PHP-5.5/ext/mysqli/tests/
H A Dmysqli_stmt_close.phpt31 if (!mysqli_stmt_prepare($stmt, "SELECT id, label FROM test"))
43 if (!mysqli_stmt_prepare($stmt, "INSERT INTO test(id, label) VALUES (?, ?)"))
46 $id = $label = null;
47 if (!mysqli_stmt_bind_param($stmt, "is", $id, $label))
50 $id = 100; $label = 'z';
65 if (!mysqli_stmt_prepare($stmt, "SELECT id, label FROM test"))
68 $id = $label = null;
69 if (!mysqli_stmt_bind_result($stmt, $id, $label))

Completed in 27 milliseconds

12345678910>>...34