Home
last modified time | relevance | path

Searched refs:id (Results 101 – 125 of 800) sorted by relevance

12345678910>>...32

/PHP-7.4/ext/oci8/tests/
H A Dbug70700.phpt28 $id = null;
30 oci_bind_by_name($insert, ':id', $id);
32 oci_bind_by_name($select, ':id', $id);
37 $id = 1;
45 oci_bind_by_name($select, ':id', $id);
68 $id = 2;
76 oci_bind_by_name($select, ':id', $id);
99 $id = 3;
107 oci_bind_by_name($select, ':id', $id);
130 $id = 4;
[all …]
/PHP-7.4/ext/standard/tests/array/
H A Darray_column_basic.phpt16 'id' => 1,
21 'id' => 2,
26 'id' => 3,
48 'id' => 1,
52 'id' => 2,
56 'id' => 3,
60 'id' => 4,
64 'id' => 5,
68 'id' => 6,
72 'id' => 7,
[all …]
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_eol.h27 int id; member
39 char *phpdbg_eol_name(int id);
41 char *phpdbg_eol_rep(int id);
/PHP-7.4/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-7.4/ext/dba/tests/
H A Dbug72157.phpt16 Warning: dba_open(,Resource id #5): Illegal DBA mode in %sbug72157.php on line %d
18 Warning: dba_open(,Resource id #5): Illegal DBA mode in %sbug72157.php on line %d
20 Warning: dba_open(,Resource id #5): Illegal DBA mode in %sbug72157.php on line %d
22 Warning: dba_open(Resource id #5,Resource id #5): Illegal DBA mode in %sbug72157.php on line %d
/PHP-7.4/ext/pdo_firebird/tests/
H A Dbug_74462.phpt12 $dbh->exec('create table atable (id integer not null, abool boolean)');
13 $dbh->exec('insert into atable (id, abool) values (1, true)');
14 $dbh->exec('insert into atable (id, abool) values (2, false)');
15 $dbh->exec('insert into atable (id, abool) values (3, null)');
16 $S = $dbh->query('select abool from atable order by id');
/PHP-7.4/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_get_result_geom.phpt28 …if (!mysqli_query($link, sprintf("CREATE TABLE test(id INT, label %s, PRIMARY KEY(id)) ENGINE = %s…
33 for ($id = 1; $id < 4; $id++) {
34 $sql = sprintf("INSERT INTO test(id, label) VALUES (%d, %s)", $id, $bind_value);
36 … printf("[%04d] [%d] %s\n", $offset + 2 + $id, mysqli_errno($link), mysqli_error($link));
45 if (!mysqli_stmt_prepare($stmt, "SELECT id, label FROM test")) {
77 if (!mysqli_stmt_prepare($stmt2, "INSERT INTO test(id, label) VALUES (?, ?)")) {
82 $id = $row['id'] + 10;
83 if (!mysqli_stmt_bind_param($stmt2, "is", $id, $bind_res)) {
94 … if (!$res_normal = mysqli_query($link, sprintf("SELECT id, label FROM test WHERE id = %d",
95 $row['id'] + 10))) {
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 ["id"]=>
[all …]
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_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);
H A Dmysqli_fetch_array_assoc.phpt13 if (!$res = mysqli_query($link, "SELECT * FROM test ORDER BY id LIMIT 5")) {
20 if (!$res = mysqli_query($link, "SELECT id, label FROM test ORDER BY id LIMIT 5")) {
37 ["id"]=>
44 ["id"]=>
/PHP-7.4/Zend/tests/return_types/
H A Drfc004.phpt9 function find($id) : User;
14 function find($id) {
19 …atal error: Declaration of UserGateway_MySql::find($id) must be compatible with UserGateway::find(…
/PHP-7.4/ext/dom/tests/
H A Dbug81433.phpt15 $element->setAttribute("id", 123);
16 $element->setIdAttribute("id", true);
18 $node = $element->getAttributeNode("id");
21 $element->setIdAttribute("id", true);
/PHP-7.4/ext/xsl/
H A Dxsltprocessor.c405 id = ZEND_THIS; in PHP_FUNCTION()
628 id = ZEND_THIS; in PHP_FUNCTION()
685 id = ZEND_THIS; in PHP_FUNCTION()
717 id = ZEND_THIS; in PHP_FUNCTION()
748 zval *id; in PHP_FUNCTION() local
793 zval *id; in PHP_FUNCTION() local
818 zval *id; in PHP_FUNCTION() local
842 zval *id; in PHP_FUNCTION() local
881 zval *id; in PHP_FUNCTION() local
907 zval *id; in PHP_FUNCTION() local
[all …]
/PHP-7.4/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"]=>
H A Dpdo_mysql_attr_case.phpt29 …if (!is_object($stmt = $db->query("SELECT id, id AS 'ID_UPPER', label FROM test ORDER BY id ASC LI…
51 …if (!is_object($stmt = $db->query("SELECT id, id AS 'ID_UPPER', label, MiXeD, MYUPPER FROM test OR…
65 …if (!is_object($stmt = $db->query("SELECT id, label, MiXeD, MYUPPER, MYUPPER AS 'lower' FROM test …
79 …if (!is_object($stmt = $db->query("SELECT id, label, MiXeD, MYUPPER, id AS 'ID' FROM test ORDER BY…
97 ["id"]=>
112 ["id"]=>
129 ["id"]=>
152 ["id"]=>
202 ["id"]=>
H A Dlast_insert_id.phpt2 PDO MySQL auto_increment / last insert id
15 print_r($db->query("CREATE TABLE test (id int auto_increment primary key, num int)"));
17 print_r($db->query("INSERT INTO test (id, num) VALUES (23, 42)"));
25 [queryString] => CREATE TABLE test (id int auto_increment primary key, num int)
29 [queryString] => INSERT INTO test (id, num) VALUES (23, 42)
/PHP-7.4/ext/dom/
H A Ddocument.c704 zval *id; in PHP_FUNCTION() local
739 zval *id; in PHP_FUNCTION() local
767 zval *id; in PHP_FUNCTION() local
797 zval *id; in PHP_FUNCTION() local
827 zval *id; in PHP_FUNCTION() local
857 zval *id; in PHP_FUNCTION() local
894 zval *id; in PHP_FUNCTION() local
930 zval *id; in PHP_FUNCTION() local
965 zval *id; in PHP_FUNCTION() local
1048 zval *id; in PHP_FUNCTION() local
[all …]
/PHP-7.4/ext/sqlite3/tests/
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");
H A Dbug63921-64bit.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, SQLITE3_INTEGER);
H A Dsqlite3_19_columninfo.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 $result = $db->query("SELECT * FROM test ORDER BY id ASC");
40 Name: id - Type: 3
42 Name: id - Type: 3
/PHP-7.4/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-7.4/ext/ctype/tests/
H A Dbug34645.phpt7 $id = 394829384;
8 var_dump(ctype_digit($id));
9 var_dump($id);

Completed in 75 milliseconds

12345678910>>...32