Home
last modified time | relevance | path

Searched refs:bindValue (Results 1 – 25 of 56) sorted by relevance

123

/PHP-7.4/ext/pdo_firebird/tests/
H A Dbug_77863.phpt27 $query->bindValue('p', 0, PDO::PARAM_BOOL);
31 $query->bindValue('p', 1, PDO::PARAM_BOOL);
35 $query->bindValue('p', false, PDO::PARAM_BOOL);
39 $query->bindValue('p', true, PDO::PARAM_BOOL);
51 $query->bindValue('p', null, PDO::PARAM_BOOL);
56 $query->bindValue('p', false, PDO::PARAM_STR);
60 $query->bindValue('p', true, PDO::PARAM_STR);
64 $query->bindValue('p', 0, PDO::PARAM_STR);
68 $query->bindValue('p', 1, PDO::PARAM_STR);
93 $query->bindValue('p', 0, PDO::PARAM_INT);
[all …]
/PHP-7.4/ext/sqlite3/tests/
H A Dsqlite3stmt_getsql_expanded.phpt19 $stmt->bindValue(':a', 42);
20 $stmt->bindValue(':b', 'php');
21 $stmt->bindValue(3, 43);
35 $stmt->bindValue(':a', 'TEST');
36 $stmt->bindValue(':b', '!!!');
37 $stmt->bindValue(3, 40);
H A Dbug70628.phpt14 $sth->bindValue(':breed', 'canis', SQLITE3_TEXT);
15 $sth->bindValue(':name', 'jack', SQLITE3_TEXT);
16 $sth->bindValue(':age', 7, SQLITE3_INTEGER);
22 $sth->bindValue(':breed', 'russel', SQLITE3_TEXT);
23 $sth->bindValue(':age', 3, SQLITE3_INTEGER);
H A Dsqlite3_bind_bug68849.phpt2 Bug #68849 bindValue is not using the right data type
17 $s->bindValue(1, 3);
22 $s->bindValue(1, true);
27 $s->bindValue(1, false);
32 $s->bindValue(1, 3.15);
H A Dbug77051.phpt15 $stmt->bindValue(':b', 'php');
16 $stmt->bindValue(':b', 'PHP');
17 $stmt->bindValue(3, 424242);
36 $stmt->bindValue(':b', 'TEST');
37 $stmt->bindValue(3, '!!!');
H A Dsqlite3stmt_getsql.phpt14 $stmt->bindValue(':a', 42);
15 $stmt->bindValue(':b', 'php');
16 $stmt->bindValue(3, 43);
H A Dbug76665.phpt2 Bug #76665 (SQLite3Stmt::bindValue() with SQLITE3_FLOAT doesn't juggle)
12 $stmt->bindValue(':bar', 17, SQLITE3_FLOAT);
H A Dexception_from_toString.phpt18 $stmt->bindValue('i', 1234);
19 $stmt->bindValue('v', new throws);
H A Dbug63921-64bit.phpt15 $stmt->bindValue(':id', 1, SQLITE3_INTEGER);
16 $stmt->bindValue(':num', $num, SQLITE3_INTEGER);
H A Dbug63921-32bit.phpt15 $stmt->bindValue(':id', 1, SQLITE3_INTEGER);
16 $stmt->bindValue(':num', $num, SQLITE3_INTEGER);
H A Dsqlite3_10_bound_value_name.phpt22 var_dump($stmt->bindValue(':id', $foo, SQLITE3_TEXT));
24 var_dump($stmt->bindValue('id', $foo, SQLITE3_TEXT));
/PHP-7.4/ext/pdo_mysql/tests/
H A Dbug_61207.phpt22 $handle1->bindValue('1', '1');
23 $handle1->bindValue('2', '1');
37 $handle2->bindValue('1', '2');
38 $handle2->bindValue('2', '2');
53 $handle3->bindValue('1', '1');
54 $handle3->bindValue('2', '2');
70 $handle4->bindValue('1', '3');
71 $handle4->bindValue('2', '2');
H A Dpdo_mysql_stmt_bindvalue.phpt2 MySQL PDOStatement->bindValue()
25 if (!$stmt->bindValue(1, $in))
47 if (!$stmt->bindValue(1, 0))
96 if (!$stmt->bindValue(1, $in))
100 if (!$stmt->bindValue(2, 2))
125 if (!$stmt->bindValue(1, $in))
130 if (!$stmt->bindValue(2, $in))
165 if (!$stmt->bindValue(1, $in))
187 if (!$stmt->bindValue(1, 0))
236 if (!$stmt->bindValue(1, $in))
[all …]
/PHP-7.4/ext/pdo_sqlite/tests/
H A Ddebugdumpparams_001.phpt13 $x->bindValue(':a', 1, PDO::PARAM_INT);
14 $x->bindValue(':b', 'foo');
15 $x->bindValue(3, 1313);
H A Dbug_63916.phpt15 $stmt->bindValue(':id', 1, PDO::PARAM_INT);
16 $stmt->bindValue(':num', $num, PDO::PARAM_INT);
H A Dbug_63916-2.phpt15 $stmt->bindValue(':id', 1, PDO::PARAM_INT);
16 $stmt->bindValue(':num', $num, PDO::PARAM_INT);
/PHP-7.4/ext/pdo_pgsql/tests/
H A Ddebug_emulated_prepares.phpt17 $stmt->bindValue(':bool', true, PDO::PARAM_BOOL);
18 $stmt->bindValue(':int', 123, PDO::PARAM_INT);
19 $stmt->bindValue(':string', 'foo', PDO::PARAM_STR);
20 $stmt->bindValue(':null', null, PDO::PARAM_NULL);
H A Dbug36727.phpt2 Bug #36727 (segfault in bindValue() when no parameters are defined)
17 var_dump($stmt->bindValue(':test', 1, PDO::PARAM_INT));
22 Warning: PDOStatement::bindValue(): SQLSTATE[HY093]: Invalid parameter number: :test in %sbug36727.…
H A Dbug43925.phpt41 $stmt->bindValue('left', 1, PDO::PARAM_INT);
42 $stmt->bindValue('rootId', 3, PDO::PARAM_INT);
43 $stmt->bindValue('x', 5, PDO::PARAM_INT);
44 $stmt->bindValue('y', 50, PDO::PARAM_INT);
H A Dis_in_transaction.phpt25 $stmt->bindValue(1, 1);
26 $stmt->bindValue(2, "test insert");
38 $stmt->bindValue(1, "error");
39 $stmt->bindValue(2, "test insert");
H A Dbug64953.phpt21 $st->bindValue(1, '1');
27 $st->bindValue(1, '1');
H A Dbug_33876.phpt24 $res->bindValue(1, false, PDO::PARAM_BOOL);
31 $res->bindValue(1, true, PDO::PARAM_BOOL);
60 $res->bindValue(1, false, PDO::PARAM_BOOL);
67 $res->bindValue(1, true, PDO::PARAM_BOOL);
/PHP-7.4/ext/pdo/tests/
H A Ddebug_emulated_prepares.phpt29 $stmt->bindValue(':bool', true, PDO::PARAM_BOOL);
30 $stmt->bindValue(':int', 123, PDO::PARAM_INT);
31 $stmt->bindValue(':string', 'foo', PDO::PARAM_STR);
32 $stmt->bindValue(':null', null, PDO::PARAM_NULL);
H A Dbug_73234.phpt22 $stmt->bindValue(':value', 0, PDO::PARAM_NULL);
25 $stmt->bindValue(':value', null, PDO::PARAM_NULL);
H A Dpdo_028.phpt2 PDO Common: bindValue
23 $stmt->bindValue($i+1, $v);

Completed in 28 milliseconds

123