intelephense
1.14.41.16.1
lib/stub/sqlite3/sqlite3.phplib/stub/sqlite3/sqlite3.php+25
Index: package/lib/stub/sqlite3/sqlite3.php
===================================================================
--- package/lib/stub/sqlite3/sqlite3.php
+++ package/lib/stub/sqlite3/sqlite3.php
@@ -416,8 +416,12 @@
* @link https://php.net/manual/en/class.sqlite3stmt.php
*/
class SQLite3Stmt
{
+ public const EXPLAIN_MODE_EXPLAIN_QUERY_PLAN = 0;
+ public const EXPLAIN_MODE_EXPLAIN = 0;
+ public const EXPLAIN_MODE_PREPARED = 0;
+
/**
* Returns the number of parameters within the prepared statement
* @link https://php.net/manual/en/sqlite3stmt.paramcount.php
* @return int the number of parameters within the prepared statement.
@@ -469,8 +473,9 @@
* </p>
* @param mixed &$var <p>
* The parameter to bind to a statement variable.
* </p>
+ * @param-out mixed $var
* @param int $type [optional] <p>
* The data type of the parameter to bind.
* </p>
* <p>
@@ -536,8 +541,23 @@
* @since 7.4
*/
#[TentativeType]
public function getSQL(bool $expand = false): string|false {}
+
+ /**
+ * @since 8.5
+ */
+ public function busy(): bool {}
+
+ /**
+ * @since 8.5
+ */
+ public function explain(): int {}
+
+ /**
+ * @since 8.5
+ */
+ public function setExplain(int $mode): bool {}
}
/**
* A class that handles result sets for the SQLite 3 extension.
@@ -616,8 +636,13 @@
#[TentativeType]
public function finalize() {}
private function __construct() {}
+
+ /**
+ * @since 8.5
+ */
+ public function fetchAll(int $mode = 3): array|false {}
}
/**
* Specifies that the <b>Sqlite3Result::fetchArray</b>