Home
last modified time | relevance | path

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

/PHP-7.4/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)',
143 array(':placeholder' => 1));
148 array(':placeholder' => 1));
168 prepex(35, $db, 'INSERT INTO test(id, label) VALUES (1, :placeholder), (2, :placeholder)',
172 array(':placeholder' => 'row'),
176 array(':placeholder' => 'row'),
339 string(12) ":placeholder"
[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_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_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_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_emulated_anonymous.phpt2 MySQL PDO->prepare(), emulated PS, anonymous placeholder
H A Dpdo_mysql_prepare_native_placeholder_everywhere.phpt2 MySQL PDO->prepare(),native PS, anonymous placeholder
/PHP-7.4/tests/lang/
H A D031.phpt33 $placeholder = $arrayInner;
44 $placeholder = $arrayInner;
45 while(list(,$i) = each($placeholder)){
/PHP-7.4/ext/pdo/tests/
H A Dbug_71447.phpt33 // Comment and placeholder within a string
73 // Comment with ? placeholder
84 // Comment with named placeholder
/PHP-7.4/ext/intl/tests/
H A Dbug74484_MessageFormatter.phpt2 Bug #74484 MessageFormatter::formatMessage memory corruption with 11+ named placeholder
/PHP-7.4/ext/pdo_pgsql/tests/
H A Dbug71885.phpt2 Request #71855 (PDO placeholder escaping)
H A Dbug71885_2.phpt2 Request #71855 (PDO placeholder escaping, part 2)
/PHP-7.4/ext/pdo/
H A Dpdo_sql_parser.re72 struct placeholder {
79 struct placeholder *next;
98 struct placeholder *placeholders = NULL, *placetail = NULL, *plc = NULL;
/PHP-7.4/ext/oci8/
H A Doci8.c2542 zval *placeholder = (zval*) NULL; in php_oci_fetch_row() local
2568 placeholder = Z_REFVAL_P(array); in php_oci_fetch_row()
2570 placeholder = array; in php_oci_fetch_row()
2663 if (placeholder == NULL) { in php_oci_fetch_row()
2664 placeholder = return_value; in php_oci_fetch_row()
2666 zval_ptr_dtor(placeholder); in php_oci_fetch_row()
2669 array_init(placeholder); in php_oci_fetch_row()
2688 add_index_zval(placeholder, i, &element); in php_oci_fetch_row()
2694 add_assoc_zval(placeholder, column->name, &element); in php_oci_fetch_row()
2699 add_index_null(placeholder, i); in php_oci_fetch_row()
[all …]
/PHP-7.4/
H A D.gitignore241 # Temporary POST data placeholder files generated by `./run-tests.php`

Completed in 38 milliseconds