Home
last modified time | relevance | path

Searched refs:columns (Results 1 – 25 of 86) sorted by relevance

1234

/PHP-8.3/ext/opcache/tests/
H A Dbug75938.phpt7 function borken($columns) {
8 $columns = (int) $columns;
9 if ($columns < 1) return 0;
11 var_dump($mod = ($count % $columns));
/PHP-8.3/ext/standard/tests/array/
H A Dbug39576.phpt18 function test ($value, $column, &$columns) {}
38 Warning: test(): Argument #3 ($columns) must be passed by reference, value given in %s on line %d
40 Warning: test(): Argument #3 ($columns) must be passed by reference, value given in %s on line %d
42 Warning: test(): Argument #3 ($columns) must be passed by reference, value given in %s on line %d
44 Warning: test(): Argument #3 ($columns) must be passed by reference, value given in %s on line %d
H A Darray_column_variant.phpt11 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";
23 -- pass null as second parameter to get back all columns indexed by third parameter --
44 …ass null as second parameter and bogus third param to get back zero-indexed array of all columns --
/PHP-8.3/ext/odbc/tests/
H A Dodbc_columns_001.phpt29 $res = odbc_columns($conn, "ColumnsTest", "dbo", "columns", "foo");
33 $res = odbc_columns($conn, "ColumnsTest", "dbo", "columns", null);
41 $res = odbc_columns($conn, "ColumnsTest", "db%", "columns", "foo");
49 $res = odbc_columns($conn, "ColumnsTest", "dbo", "columns", "b%");
59 odbc_exec($conn, 'DROP TABLE columns');
70 string(7) "columns"
130 string(7) "columns"
190 string(7) "columns"
250 string(7) "columns"
310 string(7) "columns"
[all …]
H A Dbug69975.phpt2 Bug #69975 (PHP segfaults when accessing nvarchar(max) defined columns)
/PHP-8.3/ext/pdo_mysql/tests/
H A Dpdo_mysql_stmt_variable_columncount.phpt26 function check_result($offset, $stmt, $columns) {
35 if (($columns == 2) &&
39 } else if (($columns == 1) && isset($row['two'])) {
58 $columns = null;
59 $stmt->bindParam(1, $columns);
61 $columns = ($i % 2) + 1;
63 check_result($i, $stmt, $columns);
73 $stmt->bindParam(1, $columns);
75 $columns = ($i % 2) + 1;
77 check_result($i, $stmt, $columns);
/PHP-8.3/ext/pdo_dblib/tests/
H A Dbug_50755.phpt16 from information_schema.columns ic1
17 cross join information_schema.columns ic2
18 cross join information_schema.columns ic3");
H A Dbug_73396.phpt2 PDO_DBLIB: bigint columns are returned as strings
14 // on 64-bit machines, these columns should come back as ints
H A Dbug_71667.phpt2 PDO_DBLIB: Emulate how mssql extension names "computed" columns
H A Dbug_45876.phpt13 $stmt = $db->prepare("select top 1 ic1.* from information_schema.columns ic1");
/PHP-8.3/ext/pdo/tests/
H A Dpdo_020.phpt27 echo "Counted $res columns after $sql.\n";
33 Counted 2 columns after SELECT id, val FROM test.
34 Counted 3 columns after SELECT id, val, val2 FROM test.
35 Counted 1 columns after SELECT COUNT(*) FROM test.
H A Dpdo_032.phpt23 // Lower case columns
30 // Upper case columns
H A Dpdo_034.phpt48 …::FETCH_KEY_PAIR fetch mode requires the result set to contain exactly 2 columns. in %spdo_034.php…
/PHP-8.3/ext/mysqli/tests/
H A Dmysqli_stmt_bind_limits.phpt21 $columns = "";
27 $columns .= "col" . $i . ", ";
38 $insert .= "(" . substr($columns, 0, -2) . ") VALUES ";
43 printf("Testing %d columns with %d rows...\n", $num_params, $rows);
122 Testing 273 columns with 240 rows...
127 Testing 273 columns with 240 rows...
H A Dbug67983.phpt2 Bug #67983: mysqlnd with MYSQLI_OPT_INT_AND_FLOAT_NATIVE fails to interpret bit columns
/PHP-8.3/ext/oci8/tests/
H A Dbug71600.phpt2 Bug #71600 (oci_fetch_all result in segfault when select more than 8 columns)
38 echo "Fetching data by columns...\n";
87 Fetching data by columns...
H A Ddefine4.phpt2 oci_define_by_name() on partial number of columns
29 // Only one of the two columns is defined
/PHP-8.3/ext/pdo/
H A Dpdo_stmt.c149 char *s = ZSTR_VAL(stmt->columns[col].name); in pdo_stmt_describe_columns()
165 stmt->columns[col].name)) != NULL) { in pdo_stmt_describe_columns()
176 if (stmt->columns) { in pdo_stmt_reset_columns()
178 struct pdo_column_data *cols = stmt->columns; in pdo_stmt_reset_columns()
185 efree(stmt->columns); in pdo_stmt_reset_columns()
187 stmt->columns = NULL; in pdo_stmt_reset_columns()
198 if (!stmt->columns) { in php_pdo_stmt_set_column_count()
294 if (!is_param && param->name && stmt->columns) { in really_register_bound_param()
990 stmt->columns[i].name, in do_fetch()
998 stmt->columns[i].name, in do_fetch()
[all …]
/PHP-8.3/ext/pcre/tests/
H A Dbug41638.phpt5 $str = "repeater id='loopt' dataSrc=subject columns=2";
/PHP-8.3/ext/pdo_oci/tests/
H A Dpdo_oci_stmt_getcolumnmeta.phpt181 echo "Test 2.2 testing numeric columns\n";
200 echo "Test 2.3 testing temporal columns\n";
205 echo "Test 2.4 testing string columns\n";
224 echo "Test 2.5 testing lobs columns\n";
329 Test 2.2 testing numeric columns
330 Test 2.3 testing temporal columns
331 Test 2.4 testing string columns
332 Test 2.5 testing lobs columns
/PHP-8.3/ext/oci8/
H A Doci8_interface.c1273 php_oci_out_column **columns; in PHP_FUNCTION() local
1304 columns = safe_emalloc(statement->ncolumns, sizeof(php_oci_out_column *), 0); in PHP_FUNCTION()
1306 columns[ i ] = php_oci_statement_get_column(statement, i + 1, NULL, 0); in PHP_FUNCTION()
1315 php_oci_column_to_zval(columns[ i ], &element, PHP_OCI_RETURN_LOBS); in PHP_FUNCTION()
1321 zvtmp = zend_string_init(columns[ i ]->name, columns[ i ]->name_len, 0); in PHP_FUNCTION()
1335 efree(columns); in PHP_FUNCTION()
1349 columns[ i ] = php_oci_statement_get_column(statement, i + 1, NULL, 0); in PHP_FUNCTION()
1357 columns[ i ] = php_oci_statement_get_column(statement, i + 1, NULL, 0); in PHP_FUNCTION()
1360 zvtmp = zend_string_init(columns[ i ]->name, columns[ i ]->name_len, 0); in PHP_FUNCTION()
1368 php_oci_column_to_zval(columns[ i ], &element, PHP_OCI_RETURN_LOBS); in PHP_FUNCTION()
[all …]
H A Doci8_statement.c168 statement2->columns = NULL; in php_oci_get_implicit_resultset()
265 if (statement->has_descr && statement->columns) { in php_oci_statement_fetch()
266 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()
583 ALLOC_HASHTABLE(statement->columns); in php_oci_statement_execute()
914 if (statement->columns) { in php_oci_statement_free()
915 zend_hash_destroy(statement->columns); in php_oci_statement_free()
[all …]
/PHP-8.3/ext/pdo_sqlite/
H A Dsqlite_statement.c248 stmt->columns[colno].name = zend_string_init(str, strlen(str), 0); in pdo_sqlite_stmt_describe()
249 stmt->columns[colno].maxlen = SIZE_MAX; in pdo_sqlite_stmt_describe()
250 stmt->columns[colno].precision = 0; in pdo_sqlite_stmt_describe()
/PHP-8.3/ext/pdo_sqlite/tests/
H A Dbug38334.phpt22 // Check storing of strings into integer/float columns.
/PHP-8.3/sapi/phpdbg/
H A Dphpdbg_utils.c352 uint32_t columns; in phpdbg_get_terminal_width() local
357 columns = (uint32_t) csbi.srWindow.Right - csbi.srWindow.Left + 1; in phpdbg_get_terminal_width()
361 columns = (uint32_t) ioctl(fileno(stdout), TIOCGWINSZ, &w) == 0 ? w.ws_col : 80; in phpdbg_get_terminal_width()
363 columns = 80; in phpdbg_get_terminal_width()
365 return columns; in phpdbg_get_terminal_width()

Completed in 45 milliseconds

1234