Home
last modified time | relevance | path

Searched refs:id (Results 76 – 100 of 826) sorted by relevance

12345678910>>...34

/PHP-5.5/ext/mysqli/tests/
H A Dmysqli_stmt_fetch_geom.phpt25 …if (!mysqli_query($link, sprintf("CREATE TABLE test(id INT, label %s, PRIMARY KEY(id)) ENGINE = %s…
30 for ($id = 1; $id < 4; $id++) {
31 $sql = sprintf("INSERT INTO test(id, label) VALUES (%d, %s)", $id, $bind_value);
33 printf("[%04d] [%d] %s\n", $offset + 2 + $id, mysqli_errno($link), mysqli_error($link));
42 if (!mysqli_stmt_prepare($stmt, "SELECT id, label FROM test")) {
54 if (!mysqli_stmt_bind_result($stmt, $id, $bind_res)) {
69 $rows[] = array('id' => $id, 'label' => $bind_res);
86 if (!mysqli_stmt_prepare($stmt, "INSERT INTO test(id, label) VALUES (?, ?)")) {
91 $new_id = $row['id'] + 10;
103 if (!$res_normal = mysqli_query($link, sprintf("SELECT id, label FROM test WHERE id = %d",
H A Dmysqli_stmt_execute.phpt44 if (!mysqli_stmt_prepare($stmt, "SELECT id FROM test ORDER BY id LIMIT 1"))
58 $id = 100;
60 if (!mysqli_stmt_bind_param($stmt, "is", $id, $label))
71 if (!mysqli_stmt_prepare($stmt, "SELECT id FROM test ORDER BY id LIMIT ?"))
82 $id = null;
86 if ($id !== 1)
87 printf("[018] Expecting int/1 got %s/%s\n", gettype($id), $id);
97 $id = null;
101 if ($id !== 1)
102 printf("[022] Expecting int/1 got %s/%s\n", gettype($id), $id);
[all …]
H A Dmysqli_stmt_get_result2.phpt37 if (!mysqli_stmt_prepare($stmt, "SELECT id, label FROM test ORDER BY id ASC LIMIT 1"))
70 !mysqli_stmt_prepare($stmt, "SELECT id, label FROM test ORDER BY id ASC LIMIT 2") ||
74 $id = $label = null;
89 !mysqli_stmt_prepare($stmt, "SELECT id, label FROM test ORDER BY id ASC LIMIT 2") ||
98 $id = $label = null;
108 !mysqli_stmt_prepare($stmt, "SELECT id, label FROM test ORDER BY id ASC LIMIT 2") ||
117 $id = $label = null;
122 if (NULL !== $id || NULL !== $label)
129 !mysqli_stmt_prepare($stmt, "SELECT id, label FROM test ORDER BY id ASC LIMIT 2") ||
160 [%u|b%"id"]=>
[all …]
H A Dmysqli_stmt_fetch_bit.phpt30 …!mysqli_query($link, $sql = sprintf('CREATE TABLE test(id INT, label BIT(%d)) ENGINE="%s"', $bits,…
39 $sql = sprintf("INSERT INTO test(id, label) VALUES (%d, b'%s')", $value, decbin($value));
45 $id = $_label0 = $label = null;
46 $sql = sprintf("SELECT id, label + 0 AS _label0, label FROM test WHERE id = %d", $value);
49 !mysqli_stmt_bind_result($stmt, $id, $_label0, $label))
55 if (($id !== $_label0) || ($value !== $_label0)) {
56 …ight have failed. MySQL reports odd values, id = %s, _label0 = %s, label = %s.\n", $bits, $value, …
59 …printf("[008 - %d] Wrong values, (original) value = %s, id = %s, label + 0 AS label0 = %s, label …
60 $bits, $value, $id, $_label0, $label);
/PHP-5.5/ext/oci8/tests/
H A Dbind_number.phpt22 id number,
33 function check_col($c, $colname, $id)
35 $s = oci_parse($c, "select $colname from bind_number_tab where id = :id");
36 oci_bind_by_name($s, ":id", $id);
46 $s = oci_parse($c, "INSERT INTO bind_number_tab (id, number_t6) VALUES (1, :n1)");
55 $s = oci_parse($c, "INSERT INTO bind_number_tab (id, float_t) VALUES (66, :f1)");
64 $s = oci_parse($c, "INSERT INTO bind_number_tab (id, binary_float_t) VALUES (67, :f1)");
82 $s = oci_parse($c, "INSERT INTO bind_number_tab (id, decimal_t) VALUES (71, :f1)");
91 $s = oci_parse($c, "INSERT INTO bind_number_tab (id, decimal_t) VALUES (72, :f1)");
109 $s = oci_parse($c, "INSERT INTO bind_number_tab (id, integer_t) VALUES (75, :f1)");
[all …]
/PHP-5.5/ext/sqlite3/tests/
H A Dsqlite3_35_stmt_readonly.phpt17 var_dump($db->exec('CREATE TABLE test (time INTEGER, id STRING)'));
20 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'a')"));
21 var_dump($db->exec("INSERT INTO test (time, id) VALUES (" . TIMENOW . ", 'b')"));
24 $stmt = $db->prepare("SELECT * FROM test WHERE id = ? ORDER BY id ASC");
28 $stmt = $db->prepare("UPDATE test SET id = 'c' WHERE id = ?");
H A Dbug45798.phpt10 $db->exec('CREATE TABLE test (time INTEGER, id STRING)');
12 $db->exec("INSERT INTO test (time, id) VALUES (" . time() . ", 'a')");
13 $db->exec("INSERT INTO test (time, id) VALUES (" . time() . ", 'b')");
15 $stmt = $db->prepare("SELECT * FROM test WHERE id = ? ORDER BY id ASC");
H A Dsqlite3_33_reset.phpt13 $db->exec('CREATE TABLE foo (id INTEGER, bar STRING)');
14 $db->exec("INSERT INTO foo (id, bar) VALUES (1, 'This is a test')");
16 $stmt = $db->prepare('SELECT bar FROM foo WHERE id=:id');
17 $stmt->bindValue(':id', 1, SQLITE3_INTEGER);
H A Dsqlite3_04_update.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 $results = $db->query("SELECT * FROM test ORDER BY id ASC");
27 var_dump($db->exec("UPDATE test SET id = 'c' WHERE id = 'a'"));
30 $results = $db->query("SELECT * FROM test ORDER BY id ASC");
/PHP-5.5/ext/session/tests/
H A Dsession_set_save_handler_class_008.phpt31 $id = session_id();
32 echo "(#$this->num) finish called $id\n";
35 public function write($id, $data) {
36 echo "(#$this->num) writing $id = $data\n";
37 return parent::write($id, $data);
40 $id = session_id();
41 echo "(#$this->num) closing $id\n";
H A Dsession_set_save_handler_class_009.phpt31 $id = session_id();
32 echo "(#$this->num) finish called $id\n";
35 public function write($id, $data) {
36 echo "(#$this->num) writing $id = $data\n";
37 return parent::write($id, $data);
40 $id = session_id();
41 echo "(#$this->num) closing $id\n";
H A Dsession_set_save_handler_class_010.phpt31 $id = session_id();
32 echo "(#$this->num) finish called $id\n";
35 public function write($id, $data) {
36 echo "(#$this->num) writing $id = $data\n";
37 return parent::write($id, $data);
40 $id = session_id();
41 echo "(#$this->num) closing $id\n";
H A Dsession_set_save_handler_sid_002.phpt30 public function read($id) {
31 return @file_get_contents($this->path . $id);
34 public function write($id, $data) {
35 return file_put_contents($this->path . $id, $data);
38 public function destroy($id) {
39 @unlink($this->path . $id);
77 Fatal error: session_start(): Session id must be a string in %s on line %d
H A Dsession_set_save_handler_class_007.phpt31 $id = session_id();
32 echo "(#$this->num) finish called $id\n";
35 public function write($id, $data) {
36 echo "(#$this->num) writing $id = $data\n";
37 return parent::write($id, $data);
40 $id = session_id();
41 echo "(#$this->num) closing $id\n";
/PHP-5.5/ext/reflection/tests/
H A Dbug53366.phpt10 $myClass->id = 1000;
14 var_dump($reflect->getProperty('id'));
15 var_dump($reflect->getProperty('id')->getValue($myClass));
21 string(2) "id"
/PHP-5.5/ext/pdo_mysql/tests/
H A Dpdo_mysql_prepare_native_clear_error.phpt18 $db->exec(sprintf('CREATE TABLE test(id INT, label CHAR(255)) ENGINE=%s', PDO_MYSQL_TEST_ENGINE));
26 $db->exec("INSERT INTO test(id, label) VALUES (1, 'row1')");
28 $stmt = $db->prepare('SELECT unknown_column FROM test WHERE id > :placeholder ORDER BY id ASC');
35 $stmt = $db->prepare('SELECT id, label FROM test WHERE id > :placeholder ORDER BY id ASC');
48 $stmt = $db->prepare('SELECT unknown_column FROM test WHERE id > :placeholder ORDER BY id ASC');
55 $stmt = $db->prepare('SELECT id, label FROM test WHERE id > :placeholder ORDER BY id ASC');
87 ["id"]=>
/PHP-5.5/ext/filter/
H A Dfilter_private.h89 #define PHP_FILTER_ID_EXISTS(id) \ argument
90 ((id >= FILTER_SANITIZE_ALL && id <= FILTER_SANITIZE_LAST) \
91 || (id >= FILTER_VALIDATE_ALL && id <= FILTER_VALIDATE_LAST) \
92 || id == FILTER_CALLBACK)
/PHP-5.5/sapi/apache_hooks/
H A Dphp_apache.c184 zval *id; in apache_request_read_string_slot() local
209 zval *id; in apache_request_string_slot() local
240 zval *id; in apache_request_read_int_slot() local
260 zval *id; in apache_request_int_slot() local
505 zval *id; in PHP_FUNCTION() local
565 zval *id; in PHP_FUNCTION() local
658 zval *id; in PHP_FUNCTION() local
677 zval *id; in PHP_FUNCTION() local
698 zval *id; in PHP_FUNCTION() local
715 zval *id; in PHP_FUNCTION() local
[all …]
/PHP-5.5/ext/intl/tests/
H A Dtransliterator_property_id.phpt2 Transliterator - "id" property
8 echo $tr->id, "\n";
10 echo $revtr->id, "\n";
18 ["id"]=>
/PHP-5.5/ext/sybase_ct/tests/
H A Dtest_query_nostore.phpt19 id numeric(10, 0) primary key not null,
27 id, caption, author
33 id, caption, author, link
39 id, caption, author
46 $q= sybase_unbuffered_query('select * from #test order by id', $db, FALSE);
63 ["id"]=>
75 ["id"]=>
87 ["id"]=>
/PHP-5.5/ext/dom/
H A Delement.c157 zval *id; in PHP_METHOD() local
331 zval *id; in PHP_FUNCTION() local
374 zval *id; in PHP_FUNCTION() local
440 zval *id; in PHP_FUNCTION() local
488 zval *id; in PHP_FUNCTION() local
637 zval *id; in PHP_FUNCTION() local
663 zval *id; in PHP_FUNCTION() local
743 zval *id; in PHP_FUNCTION() local
871 zval *id; in PHP_FUNCTION() local
928 zval *id; in PHP_FUNCTION() local
[all …]
/PHP-5.5/ext/pdo_sqlite/tests/
H A Dbug_63916.phpt12 $conn->query('CREATE TABLE users (id INTEGER NOT NULL, num INTEGER NOT NULL, PRIMARY KEY(id))');
14 $stmt = $conn->prepare('insert into users (id, num) values (:id, :num)');
15 $stmt->bindValue(':id', 1, PDO::PARAM_INT);
H A Dbug_63916-2.phpt12 $conn->query('CREATE TABLE users (id INTEGER NOT NULL, num INTEGER NOT NULL, PRIMARY KEY(id))');
14 $stmt = $conn->prepare('insert into users (id, num) values (:id, :num)');
15 $stmt->bindValue(':id', 1, PDO::PARAM_INT);
/PHP-5.5/ext/pdo/tests/
H A Dpdo_009.phpt17 $db->exec('CREATE TABLE classtypes(id int NOT NULL PRIMARY KEY, name VARCHAR(10) NOT NULL UNIQUE)');
21 $db->exec('CREATE TABLE test(id int NOT NULL PRIMARY KEY, classtype int, val VARCHAR(10))');
27 …e('SELECT classtypes.name, test.id AS id, test.val AS val FROM test LEFT JOIN classtypes ON test.c…
105 ["id"]=>
112 ["id"]=>
119 ["id"]=>
126 ["id"]=>
/PHP-5.5/ext/mysql/
H A Dphp_mysql.c1135 int id = -1; local
1176 int id = -1; local
1199 int id = -1; local
1222 int id = -1; local
1245 int id = -1; local
1295 int id = -1; local
1331 int id = -1; local
1388 int id = -1; local
1419 int id = -1; local
1541 int id = -1; local
[all …]

Completed in 92 milliseconds

12345678910>>...34