Home
last modified time | relevance | path

Searched refs:placeholder (Results 1 – 18 of 18) sorted by relevance

/PHP-5.6/ext/pdo_mysql/tests/
H A Dpdo_mysql_prepare_emulated.phpt121 array(':placeholder' => 'id'));
123 array(':placeholder' => 'id'));
124 prepex(18, $db, 'SELECT :placeholder FROM test WHERE :placeholder > :placeholder',
137 prepex(21, $db, 'INSERT INTO test(id, label) VALUES (1, :placeholder), (2, :placeholder)',
138 array(':placeholder' => 'row'));
143 array(':placeholder' => 1));
148 array(':placeholder' => 1));
168 prepex(35, $db, 'INSERT INTO test(id, label) VALUES (1, :placeholder), (2, :placeholder)',
169 array(':placeholder' => 'row'));
172 array(':placeholder' => 'row'),
[all …]
H A Dpdo_mysql_prepare_native_named_placeholder.phpt2 MySQL PDO->prepare(), native PS, named placeholder
25 $stmt = $db->prepare("INSERT INTO test(id, label) VALUES (100, ':placeholder')");
27 // Yes, there is no placeholder to bind to and named placeholder
29 // The ':placeholder' is a string constant in the INSERT statement.
31 $stmt->execute(array(':placeholder' => 'row1'));
47 // Note that the "named placeholder" is enclosed by double quotes.
48 $stmt = $db->prepare("INSERT INTO test(id, label) VALUES(101, ':placeholder')");
50 $stmt->execute(array(':placeholder' => 'row1'));
89 string(12) ":placeholder"
H A Dpdo_mysql_prepare_native_column.phpt2 MySQL PDO->prepare(), native PS, named placeholder
24 $db->prepare('SELECT :placeholder FROM test WHERE :placeholder > :placeholder');
25 $stmt->execute(array(':placeholder' => 'test'));
H A Dpdo_mysql_prepare_native_dup_named_placeholder.phpt2 MySQL PDO->prepare(), native PS, named placeholder II
26 …$stmt = $db->prepare('INSERT INTO test(id, label1, label2) VALUES (1, :placeholder, :placeholder)'…
28 $stmt->execute(array(':placeholder' => 'row1'));
45 …$stmt = $db->prepare('INSERT INTO test(id, label1, label2) VALUES(2, :placeholder, :placeholder)');
47 $stmt->execute(array(':placeholder' => 'row2'));
64 … id, label1 FROM test WHERE id = :placeholder AND label1 = (SELECT label1 AS 'SELECT' FROM test WH…
68 $stmt->execute(array(':placeholder' => 1));
82 $stmt->execute(array(':placeholder' => 1));
H A Dpdo_mysql_prepare_native.phpt128 array(':placeholder' => 'first row'));
130 array(':placeholder' => 'second row'));
136 array(':placeholder' => 'id'));
140 $params = array(':placeholder' => 'a');
149 array(':placeholder' => 1));
154 array(':placeholder' => 1));
167 array(':placeholder' => 'mysql'), null, true);
191 $stmt = prepex(29, $db, $sql, array('placeholder' => -1));
197 $stmt = prepex(31, $db, $sql, array('placeholder' => 1));
293 array(':placeholder' => 'row'),
[all …]
H A Dpdo_mysql_prepare_native_clear_error.phpt28 $stmt = $db->prepare('SELECT unknown_column FROM test WHERE id > :placeholder ORDER BY id ASC');
29 $stmt->execute(array(':placeholder' => 0));
35 $stmt = $db->prepare('SELECT id, label FROM test WHERE id > :placeholder ORDER BY id ASC');
36 $stmt->execute(array(':placeholder' => 0));
48 $stmt = $db->prepare('SELECT unknown_column FROM test WHERE id > :placeholder ORDER BY id ASC');
49 $stmt->execute(array(':placeholder' => 0));
55 $stmt = $db->prepare('SELECT id, label FROM test WHERE id > :placeholder ORDER BY id ASC');
56 $stmt->execute(array(':placeholder' => 0));
H A Dpdo_mysql_prepare_match_against.phpt20 $stmt = $db->prepare('SELECT id, label FROM test WHERE MATCH label AGAINST (:placeholder)');
21 $stmt->execute(array(':placeholder' => 'row'));
24 $stmt = $db->prepare('SELECT id, label FROM test WHERE MATCH label AGAINST (:placeholder)');
25 $stmt->execute(array('placeholder' => 'row'));
H A Dbug_61755.phpt17 echo "NULL-Byte before first placeholder:\n";
35 NULL-Byte before first placeholder:
H A Dpdo_mysql_prepare_emulated_placeholder_everywhere.phpt2 MySQL PDO->prepare(), emulated PS, anonymous placeholder
25 // So, what will happen? More placeholder but values and
H A Dpdo_mysql_prepare_native_mixed_style.phpt23 …$stmt = $db->prepare("SELECT id, label FROM test WHERE id = :placeholder AND label = (SELECT label…
H A Dpdo_mysql_prepare_native_placeholder_everywhere.phpt2 MySQL PDO->prepare(),native PS, anonymous placeholder
H A Dpdo_mysql_prepare_emulated_anonymous.phpt2 MySQL PDO->prepare(), emulated PS, anonymous placeholder
/PHP-5.6/tests/lang/
H A D031.phpt33 $placeholder = $arrayInner;
44 $placeholder = $arrayInner;
45 while(list(,$i) = each($placeholder)){
/PHP-5.6/ext/pdo/tests/
H A Dbug_71447.phpt33 // Comment and placeholder within a string
73 // Comment with ? placeholder
84 // Comment with named placeholder
/PHP-5.6/ext/pdo/
H A Dpdo_sql_parser.c383 struct placeholder { struct
390 struct placeholder *next; argument
405 struct placeholder *placeholders = NULL, *placetail = NULL, *plc = NULL; in pdo_parse_params()
H A Dpdo_sql_parser.re69 struct placeholder {
76 struct placeholder *next;
91 struct placeholder *placeholders = NULL, *placetail = NULL, *plc = NULL;
/PHP-5.6/ext/ereg/regex/
H A Dtests19 # - placeholder, does nothing
/PHP-5.6/ext/pcre/pcrelib/doc/
H A Dpcre.txt9876 list of optional arguments, as a placeholder for missing arguments, as

Completed in 62 milliseconds