/PHP-7.2/ext/opcache/tests/ |
H A D | bug75938.phpt | 7 function borken($columns) { 8 $columns = (int) $columns; 9 if ($columns < 1) return 0; 11 var_dump($mod = ($count % $columns));
|
/PHP-7.2/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_stmt_variable_columncount.phpt | 27 function check_result($offset, $stmt, $columns) { 38 if (($columns == 2) && 42 } else if (($columns == 1) && isset($row['two'])) { 61 $columns = null; 62 $stmt->bindParam(1, $columns); 64 $columns = ($i % 2) + 1; 66 check_result($i, $stmt, $columns); 76 $stmt->bindParam(1, $columns); 78 $columns = ($i % 2) + 1; 80 check_result($i, $stmt, $columns);
|
H A D | pdo_mysql_bit.phpt | 2 MySQL PDO->exec(), BIT columns - remove after fix!
|
/PHP-7.2/ext/pdo_dblib/tests/ |
H A D | bug_50755.phpt | 14 from information_schema.columns ic1 15 cross join information_schema.columns ic2 16 cross join information_schema.columns ic3");
|
H A D | bug_73396.phpt | 2 PDO_DBLIB: bigint columns are returned as strings 12 // on 64-bit machines, these columns should come back as ints
|
H A D | bug_71667.phpt | 2 PDO_DBLIB: Emulate how mssql extension names "computed" columns
|
H A D | bug_45876.phpt | 12 $stmt = $db->prepare("select top 1 ic1.* from information_schema.columns ic1");
|
/PHP-7.2/ext/pdo/tests/ |
H A D | pdo_020.phpt | 26 echo "Counted $res columns after $sql.\n"; 32 Counted 2 columns after SELECT id, val FROM test. 33 Counted 3 columns after SELECT id, val, val2 FROM test. 34 Counted 1 columns after SELECT COUNT(*) FROM test.
|
H A D | pdo_032.phpt | 22 // Lower case columns 29 // Upper case columns
|
H A D | pdo_034.phpt | 47 …:FETCH_KEY_PAIR fetch mode requires the result set to contain extactly 2 columns. in %spdo_034.php…
|
/PHP-7.2/ext/pdo_sqlite/ |
H A D | sqlite_statement.c | 57 if (!stmt->columns) { in pdo_sqlite_stmt_set_column_count() 75 if (stmt->columns[i].name) { in pdo_sqlite_stmt_set_column_count() 76 zend_string_release(stmt->columns[i].name); in pdo_sqlite_stmt_set_column_count() 77 stmt->columns[i].name = NULL; in pdo_sqlite_stmt_set_column_count() 81 efree(stmt->columns); in pdo_sqlite_stmt_set_column_count() 82 stmt->columns = NULL; in pdo_sqlite_stmt_set_column_count() 286 stmt->columns[colno].name = zend_string_init(str, strlen(str), 0); in pdo_sqlite_stmt_describe() 287 stmt->columns[colno].maxlen = 0xffffffff; in pdo_sqlite_stmt_describe() 288 stmt->columns[colno].precision = 0; in pdo_sqlite_stmt_describe() 297 stmt->columns[colno].param_type = PDO_PARAM_STR; in pdo_sqlite_stmt_describe()
|
/PHP-7.2/ext/standard/tests/array/ |
H A D | array_column_variant.phpt | 11 echo "-- pass null as second parameter to get back all columns indexed by third parameter --\n"; 14 …null as second parameter and bogus third param to get back zero-indexed array of all columns --\n"; 22 -- pass null as second parameter to get back all columns indexed by third parameter -- 43 …ass null as second parameter and bogus third param to get back zero-indexed array of all columns --
|
H A D | bug39576.phpt | 18 function test ($value, $column, &$columns) {}
|
H A D | array_column_basic.phpt | 104 echo "\n*** Testing columns not present in all rows ***\n"; 272 *** Testing columns not present in all rows ***
|
/PHP-7.2/ext/mysqli/tests/ |
H A D | mysqli_stmt_bind_limits.phpt | 18 $columns = ""; 24 $columns .= "col" . $i . ", "; 35 $insert .= "(" . substr($columns, 0, -2) . ") VALUES "; 40 printf("Testing %d columns with %d rows...\n", $num_params, $rows); 119 Testing 273 columns with 240 rows... 124 Testing 273 columns with 240 rows...
|
H A D | mysqli_fetch_field_flags.phpt | 52 $columns = array( 111 $columns['TIMESTAMP NOT NULL'] = 'ON_UPDATE_NOW TIMESTAMP BINARY UNSIGNED NOT_NULL'; 113 $columns['TIMESTAMP NOT NULL'] = 'ON_UPDATE_NOW TIMESTAMP BINARY NOT_NULL'; 116 foreach ($columns as $column_def => $expected_flags) {
|
/PHP-7.2/ext/sqlite3/tests/ |
H A D | sqlite3result_numcolumns_error.phpt | 17 echo 'Fetching number of columns' . PHP_EOL; 29 Fetching number of columns
|
/PHP-7.2/ext/oci8/tests/ |
H A D | bug71600.phpt | 2 Bug #71600 (oci_fetch_all result in segfault when select more than 8 columns) 35 echo "Fetching data by columns...\n"; 86 Fetching data by columns...
|
H A D | define4.phpt | 2 oci_define_by_name() on partial number of columns 25 // Only one of the two columns is defined
|
/PHP-7.2/ext/pdo/ |
H A D | pdo_stmt.c | 231 stmt->columns[col].name)) != NULL) { in pdo_stmt_describe_columns() 542 col = &stmt->columns[colno]; in fetch_value() 1083 stmt->columns[i].name, in do_fetch() 1091 stmt->columns[i].name, in do_fetch() 1824 col = &stmt->columns[colno]; in PHP_METHOD() 2023 if (stmt->columns) { in pdo_stmt_do_next_rowset() 2032 efree(stmt->columns); in pdo_stmt_do_next_rowset() 2033 stmt->columns = NULL; in pdo_stmt_do_next_rowset() 2329 if (stmt->columns) { in php_pdo_free_statement() 2339 efree(stmt->columns); in php_pdo_free_statement() [all …]
|
/PHP-7.2/ext/odbc/tests/ |
H A D | bug69975.phpt | 2 Bug #69975 (PHP segfaults when accessing nvarchar(max) defined columns)
|
/PHP-7.2/ext/oci8/ |
H A D | oci8_interface.c | 1468 php_oci_out_column **columns; in PHP_FUNCTION() local 1497 columns = safe_emalloc(statement->ncolumns, sizeof(php_oci_out_column *), 0); in PHP_FUNCTION() 1500 columns[ i ] = php_oci_statement_get_column(statement, i + 1, NULL, 0); in PHP_FUNCTION() 1509 php_oci_column_to_zval(columns[ i ], &element, PHP_OCI_RETURN_LOBS); in PHP_FUNCTION() 1515 zvtmp = zend_string_init(columns[ i ]->name, columns[ i ]->name_len, 0); in PHP_FUNCTION() 1533 efree(columns); in PHP_FUNCTION() 1543 columns[ i ] = php_oci_statement_get_column(statement, i + 1, NULL, 0); in PHP_FUNCTION() 1551 columns[ i ] = php_oci_statement_get_column(statement, i + 1, NULL, 0); in PHP_FUNCTION() 1554 zvtmp = zend_string_init(columns[ i ]->name, columns[ i ]->name_len, 0); in PHP_FUNCTION() 1566 php_oci_column_to_zval(columns[ i ], &element, PHP_OCI_RETURN_LOBS); in PHP_FUNCTION() [all …]
|
H A D | oci8_statement.c | 165 statement2->columns = NULL; in php_oci_get_implicit_resultset() 261 if (statement->has_descr && statement->columns) { in php_oci_statement_fetch() 262 zend_hash_apply(statement->columns, php_oci_cleanup_pre_fetch); in php_oci_statement_fetch() 274 if (statement->columns) { in php_oci_statement_fetch() 275 zend_hash_destroy(statement->columns); in php_oci_statement_fetch() 276 efree(statement->columns); in php_oci_statement_fetch() 277 statement->columns = NULL; in php_oci_statement_fetch() 587 ALLOC_HASHTABLE(statement->columns); in php_oci_statement_execute() 898 if (statement->columns) { in php_oci_statement_free() 899 zend_hash_destroy(statement->columns); in php_oci_statement_free() [all …]
|
/PHP-7.2/sapi/phpdbg/ |
H A D | phpdbg_utils.c | 338 int columns; in phpdbg_get_terminal_width() local 343 columns = csbi.srWindow.Right - csbi.srWindow.Left + 1; in phpdbg_get_terminal_width() 347 columns = ioctl(fileno(stdout), TIOCGWINSZ, &w) == 0 ? w.ws_col : 80; in phpdbg_get_terminal_width() 349 columns = 80; in phpdbg_get_terminal_width() 351 return columns; in phpdbg_get_terminal_width()
|
/PHP-7.2/ext/pdo_oci/tests/ |
H A D | pdo_oci_stream_2b.phpt | 2 PDO OCI: Fetches 10K records from a table that contains 1 number and 2 LOB columns (stress test)
|