php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
sqlite3.stub.php
Go to the documentation of this file.
1<?php
2
4
9const SQLITE3_ASSOC = UNKNOWN;
14const SQLITE3_NUM = UNKNOWN;
19const SQLITE3_BOTH = UNKNOWN;
20
25const SQLITE3_INTEGER = UNKNOWN;
30const SQLITE3_FLOAT = UNKNOWN;
35const SQLITE3_TEXT = UNKNOWN;
40const SQLITE3_BLOB = UNKNOWN;
45const SQLITE3_NULL = UNKNOWN;
46
51const SQLITE3_OPEN_READONLY = UNKNOWN;
56const SQLITE3_OPEN_READWRITE = UNKNOWN;
61const SQLITE3_OPEN_CREATE = UNKNOWN;
62
63#ifdef SQLITE_DETERMINISTIC
68const SQLITE3_DETERMINISTIC = UNKNOWN;
69#endif
70
75{
76}
77
80{
82 public const int OK = UNKNOWN;
83
84 /* Constants for authorizer return */
85
87 public const int DENY = UNKNOWN;
89 public const int IGNORE = UNKNOWN;
90
91 /* Constants for authorizer actions */
92
94 public const int CREATE_INDEX = UNKNOWN;
96 public const int CREATE_TABLE = UNKNOWN;
98 public const int CREATE_TEMP_INDEX = UNKNOWN;
100 public const int CREATE_TEMP_TABLE = UNKNOWN;
102 public const int CREATE_TEMP_TRIGGER = UNKNOWN;
104 public const int CREATE_TEMP_VIEW = UNKNOWN;
106 public const int CREATE_TRIGGER = UNKNOWN;
108 public const int CREATE_VIEW = UNKNOWN;
110 public const int DELETE = UNKNOWN;
112 public const int DROP_INDEX = UNKNOWN;
114 public const int DROP_TABLE = UNKNOWN;
116 public const int DROP_TEMP_INDEX = UNKNOWN;
118 public const int DROP_TEMP_TABLE = UNKNOWN;
120 public const int DROP_TEMP_TRIGGER = UNKNOWN;
122 public const int DROP_TEMP_VIEW = UNKNOWN;
124 public const int DROP_TRIGGER = UNKNOWN;
126 public const int DROP_VIEW = UNKNOWN;
128 public const int INSERT = UNKNOWN;
130 public const int PRAGMA = UNKNOWN;
132 public const int READ = UNKNOWN;
134 public const int SELECT = UNKNOWN;
136 public const int TRANSACTION = UNKNOWN;
138 public const int UPDATE = UNKNOWN;
140 public const int ATTACH = UNKNOWN;
142 public const int DETACH = UNKNOWN;
144 public const int ALTER_TABLE = UNKNOWN;
146 public const int REINDEX = UNKNOWN;
148 public const int ANALYZE = UNKNOWN;
150 public const int CREATE_VTABLE = UNKNOWN;
152 public const int DROP_VTABLE = UNKNOWN;
154 public const int FUNCTION = UNKNOWN;
156 public const int SAVEPOINT = UNKNOWN;
158 public const int COPY = UNKNOWN;
159#ifdef SQLITE_RECURSIVE
161 public const int RECURSIVE = UNKNOWN;
162#endif
163
165 public function __construct(string $filename, int $flags = SQLITE3_OPEN_READWRITE | SQLITE3_OPEN_CREATE, string $encryptionKey = "") {}
166
171 public function open(string $filename, int $flags = SQLITE3_OPEN_READWRITE | SQLITE3_OPEN_CREATE, string $encryptionKey = ""): void {}
172
174 public function close(): bool {}
175
177 public static function version(): array {}
178
180 public function lastInsertRowID(): int {}
181
183 public function lastErrorCode(): int {}
184
187
189 public function lastErrorMsg(): string {}
190
192 public function changes(): int {}
193
195 public function busyTimeout(int $milliseconds): bool {}
196
197#ifndef SQLITE_OMIT_LOAD_EXTENSION
199 public function loadExtension(string $name): bool {}
200#endif
201
202#if SQLITE_VERSION_NUMBER >= 3006011
204 public function backup(SQLite3 $destination, string $sourceDatabase = "main", string $destinationDatabase = "main"): bool {}
205#endif
206
208 public static function escapeString(string $string): string {}
209
211 public function prepare(string $query): SQLite3Stmt|false {}
212
214 public function exec(string $query): bool {}
215
217 public function query(string $query): SQLite3Result|false {}
218
220 public function querySingle(string $query, bool $entireRow = false): mixed {}
221
223 public function createFunction(string $name, callable $callback, int $argCount = -1, int $flags = 0): bool {}
224
226 public function createAggregate(string $name, callable $stepCallback, callable $finalCallback, int $argCount = -1): bool {}
227
229 public function createCollation(string $name, callable $callback): bool {}
230
232 public function openBlob(string $table, string $column, int $rowid, string $database = "main", int $flags = SQLITE3_OPEN_READONLY) {}
233
235 public function enableExceptions(bool $enable = false): bool {}
236
238 public function enableExtendedResultCodes(bool $enable = true): bool {}
239
241 public function setAuthorizer(?callable $callback): bool {}
242}
243
246{
247 private function __construct(SQLite3 $sqlite3, string $query) {}
248
250 public function bindParam(string|int $param, mixed &$var, int $type = SQLITE3_TEXT): bool {}
251
253 public function bindValue(string|int $param, mixed $value, int $type = SQLITE3_TEXT): bool {}
254
256 public function clear(): bool {}
257
259 public function close(): true {}
260
262 public function execute(): SQLite3Result|false {}
263
265 public function getSQL(bool $expand = false): string|false {}
266
268 public function paramCount(): int {}
269
271 public function readOnly(): bool {}
272
274 public function reset(): bool {}
275}
276
279{
280 private function __construct() {}
281
283 public function numColumns(): int {}
284
286 public function columnName(int $column): string|false {}
287
289 public function columnType(int $column): int|false {}
290
292 public function fetchArray(int $mode = SQLITE3_BOTH): array|false {}
293
295 public function reset(): bool {}
296
298 public function finalize(): true {}
299}
fetchArray(int $mode=SQLITE3_BOTH)
columnName(int $column)
columnType(int $column)
getSQL(bool $expand=false)
bindParam(string|int $param, mixed &$var, int $type=SQLITE3_TEXT)
bindValue(string|int $param, mixed $value, int $type=SQLITE3_TEXT)
openBlob(string $table, string $column, int $rowid, string $database="main", int $flags=SQLITE3_OPEN_READONLY)
const int CREATE_TEMP_TABLE
const int UPDATE
const int DROP_TRIGGER
loadExtension(string $name)
const int RECURSIVE
open(string $filename, int $flags=SQLITE3_OPEN_READWRITE|SQLITE3_OPEN_CREATE, string $encryptionKey="")
__construct(string $filename, int $flags=SQLITE3_OPEN_READWRITE|SQLITE3_OPEN_CREATE, string $encryptionKey="")
const int READ
querySingle(string $query, bool $entireRow=false)
createCollation(string $name, callable $callback)
const int CREATE_TEMP_INDEX
const int IGNORE
const int DROP_VTABLE
const int CREATE_VIEW
const int SAVEPOINT
const int COPY
const int CREATE_VTABLE
const int DROP_TEMP_TRIGGER
const int CREATE_TEMP_VIEW
const int ALTER_TABLE
const int OK
setAuthorizer(?callable $callback)
const int SELECT
const int ANALYZE
const int CREATE_TEMP_TRIGGER
busyTimeout(int $milliseconds)
const int DROP_TABLE
static escapeString(string $string)
const int DROP_TEMP_INDEX
const int CREATE_TABLE
const int DROP_INDEX
backup(SQLite3 $destination, string $sourceDatabase="main", string $destinationDatabase="main")
lastExtendedErrorCode()
const int DROP_TEMP_VIEW
const int ATTACH
const int INSERT
const int REINDEX
exec(string $query)
createAggregate(string $name, callable $stepCallback, callable $finalCallback, int $argCount=-1)
createFunction(string $name, callable $callback, int $argCount=-1, int $flags=0)
const int DELETE
static version()
const int DROP_TEMP_TABLE
const int DETACH
enableExceptions(bool $enable=false)
const int PRAGMA
prepare(string $query)
const int CREATE_INDEX
const int CREATE_TRIGGER
enableExtendedResultCodes(bool $enable=true)
const int TRANSACTION
const int DENY
query(string $query)
const int FUNCTION
const int DROP_VIEW
$filename
Definition create.php:9
foreach($dp as $el) foreach( $dp as $el) if( $pass2< 2) echo ""
const SQLITE3_OPEN_READWRITE
const SQLITE3_BOTH
const SQLITE3_ASSOC
const SQLITE3_FLOAT
const SQLITE3_INTEGER
const SQLITE3_DETERMINISTIC
const SQLITE3_OPEN_CREATE
const SQLITE3_NUM
const SQLITE3_BLOB
const SQLITE3_TEXT
const SQLITE3_NULL
const SQLITE3_OPEN_READONLY
ZEND_API void(ZEND_FASTCALL *zend_touch_vm_stack_data)(void *vm_stack_data)
function(EX_VAR(opline->result.var))