php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
pdo_stmt.stub.php
Go to the documentation of this file.
1<?php
2
4
7{
8 public string $queryString;
9
11 public function bindColumn(string|int $column, mixed &$var, int $type = PDO::PARAM_STR, int $maxLength = 0, mixed $driverOptions = null): bool {}
12
14 public function bindParam(string|int $param, mixed &$var, int $type = PDO::PARAM_STR, int $maxLength = 0, mixed $driverOptions = null): bool {}
15
17 public function bindValue(string|int $param, mixed $value, int $type = PDO::PARAM_STR): bool {}
18
20 public function closeCursor(): bool {}
21
23 public function columnCount(): int {}
24
26 public function debugDumpParams(): ?bool {}
27
29 public function errorCode(): ?string {}
30
32 public function errorInfo(): array {}
33
35 public function execute(?array $params = null): bool {}
36
38 public function fetch(int $mode = PDO::FETCH_DEFAULT, int $cursorOrientation = PDO::FETCH_ORI_NEXT, int $cursorOffset = 0): mixed {}
39
41 public function fetchAll(int $mode = PDO::FETCH_DEFAULT, mixed ...$args): array {}
42
44 public function fetchColumn(int $column = 0): mixed {}
45
47 public function fetchObject(?string $class = "stdClass", array $constructorArgs = []): object|false {}
48
50 public function getAttribute(int $name): mixed {}
51
53 public function getColumnMeta(int $column): array|false {}
54
56 public function nextRowset(): bool {}
57
59 public function rowCount(): int {}
60
62 public function setAttribute(int $attribute, mixed $value): bool {}
63
65 public function setFetchMode(int $mode, mixed ...$args): true {}
66
68}
69
71final class PDORow
72{
73 public string $queryString;
74}
string $queryString
string $queryString
fetchAll(int $mode=PDO::FETCH_DEFAULT, mixed ... $args)
bindValue(string|int $param, mixed $value, int $type=PDO::PARAM_STR)
fetch(int $mode=PDO::FETCH_DEFAULT, int $cursorOrientation=PDO::FETCH_ORI_NEXT, int $cursorOffset=0)
setAttribute(int $attribute, mixed $value)
execute(?array $params=null)
fetchColumn(int $column=0)
setFetchMode(int $mode, mixed ... $args)
bindColumn(string|int $column, mixed &$var, int $type=PDO::PARAM_STR, int $maxLength=0, mixed $driverOptions=null)
bindParam(string|int $param, mixed &$var, int $type=PDO::PARAM_STR, int $maxLength=0, mixed $driverOptions=null)
fetchObject(?string $class="stdClass", array $constructorArgs=[])
getColumnMeta(int $column)
getAttribute(int $name)
const int PARAM_STR
function(EX_VAR(opline->result.var))
object
$params