/PHP-7.3/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_prepare_emulated.phpt | 121 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 D | pdo_mysql_prepare_native_named_placeholder.phpt | 2 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 D | pdo_mysql_prepare_native_column.phpt | 2 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 D | pdo_mysql_prepare_native_dup_named_placeholder.phpt | 2 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 D | pdo_mysql_prepare_native.phpt | 128 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 D | pdo_mysql_prepare_native_clear_error.phpt | 28 $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 D | pdo_mysql_prepare_match_against.phpt | 20 $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 D | bug_61755.phpt | 17 echo "NULL-Byte before first placeholder:\n"; 35 NULL-Byte before first placeholder:
|
H A D | pdo_mysql_prepare_emulated_placeholder_everywhere.phpt | 2 MySQL PDO->prepare(), emulated PS, anonymous placeholder 25 // So, what will happen? More placeholder but values and
|
H A D | pdo_mysql_prepare_native_mixed_style.phpt | 23 …$stmt = $db->prepare("SELECT id, label FROM test WHERE id = :placeholder AND label = (SELECT label…
|
H A D | pdo_mysql_prepare_emulated_anonymous.phpt | 2 MySQL PDO->prepare(), emulated PS, anonymous placeholder
|
H A D | pdo_mysql_prepare_native_placeholder_everywhere.phpt | 2 MySQL PDO->prepare(),native PS, anonymous placeholder
|
/PHP-7.3/tests/lang/ |
H A D | 031.phpt | 33 $placeholder = $arrayInner; 44 $placeholder = $arrayInner; 45 while(list(,$i) = each($placeholder)){
|
/PHP-7.3/ext/pdo/tests/ |
H A D | bug_71447.phpt | 33 // Comment and placeholder within a string 73 // Comment with ? placeholder 84 // Comment with named placeholder
|
/PHP-7.3/ext/intl/tests/ |
H A D | bug74484_MessageFormatter.phpt | 2 Bug #74484 MessageFormatter::formatMessage memory corruption with 11+ named placeholder
|
/PHP-7.3/ext/pdo/ |
H A D | pdo_sql_parser.c | 381 struct placeholder { struct 388 struct placeholder *next; argument 407 struct placeholder *placeholders = NULL, *placetail = NULL, *plc = NULL; in pdo_parse_params()
|
H A D | pdo_sql_parser.re | 67 struct placeholder { 74 struct placeholder *next; 93 struct placeholder *placeholders = NULL, *placetail = NULL, *plc = NULL;
|
/PHP-7.3/ext/oci8/ |
H A D | oci8.c | 2542 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 …]
|