intelephense
1.14.41.16.1
lib/stub/SQLite/SQLite.phplib/stub/SQLite/SQLite.php+10
Index: package/lib/stub/SQLite/SQLite.php
===================================================================
--- package/lib/stub/SQLite/SQLite.php
+++ package/lib/stub/SQLite/SQLite.php
@@ -13,8 +13,9 @@
* @link https://php.net/manual/en/function.sqlite-open.php
* @param string $filename <p>The filename of the SQLite database. If the file does not exist, SQLite will attempt to create it. PHP must have write permissions to the file if data is inserted, the database schema is modified or to create the database if it does not exist.</p>
* @param int $mode [optional] <p>The mode of the file. Intended to be used to open the database in read-only mode. Presently, this parameter is ignored by the sqlite library. The default value for mode is the octal value 0666 and this is the recommended value.</p>
* @param string &$error_message [optional] <p>Passed by reference and is set to hold a descriptive error message explaining why the database could not be opened if there was an error.</p>
+ * @param-out string $error_message
*/
final public function __construct($filename, $mode = 0666, &$error_message) {}
/**
@@ -28,8 +29,9 @@
* </p>
* @param int $result_type [optional]
* <p>The optional <i>result_type</i> parameter accepts a constant and determines how the returned array will be indexed. Using <b>SQLITE_ASSOC</b> will return only associative indices (named fields) while <b>SQLITE_NUM</b> will return only numerical indices (ordinal field numbers). <b>SQLITE_BOTH</b> will return both associative and numerical indices. <b>SQLITE_BOTH</b> is the default for this function.</p>
* @param string &$error_message [optional] <p>The specified variable will be filled if an error occurs. This is specially important because SQL syntax errors can't be fetched using the {@see sqlite_last_error()} function.</p>
+ * @param-out string $error_message
* @return resource|false <p>
* This function will return a result handle or <b>FALSE</b> on failure.
* For queries that return rows, the result handle can then be used with
* functions such as {@see sqlite_fetch_array()} and
@@ -61,8 +63,9 @@
* Data inside the query should be {@link https://php.net/manual/en/function.sqlite-escape-string.php properly escaped}.
* </p>
* @param string &$error_message [optional] <p>The specified variable will be filled if an error occurs. This is specially important because SQL syntax errors can't be fetched using the
* {@see sqlite_last_error()} function.</p>
+ * @param-out string $error_message
* @return bool <p>
* This function will return a boolean result; <b>TRUE</b> for success or <b>FALSE</b> for failure.
* If you need to run a query that returns rows, see {@see sqlite_query()}.
* </p>
@@ -134,8 +137,9 @@
* Using <b>SQLITE_ASSOC</b> will return only associative indices (named fields) while <b>SQLITE_NUM</b> will return only numerical indices (ordinal field numbers).
* <b>SQLITE_BOTH</b> will return both associative and numerical indices. <b>SQLITE_BOTH</b> is the default for this function.
* </p>
* @param string &$error_message [optional]
+ * @param-out string $error_message
* @return resource Returns a result handle or <b>FALSE</b> on failure.
* {@see sqlite_unbuffered_query()} returns a sequential forward-only result set that can only be used to read each row, one after the other.
*/
public function unbufferedQuery($query, $result_type = SQLITE_BOTH, &$error_message = null) {}
@@ -571,8 +575,9 @@
* @param string &$error_message [optional] <p>
* Passed by reference and is set to hold a descriptive error message
* explaining why the database could not be opened if there was an error.
* </p>
+ * @param-out string $error_message
* @return resource|false a resource (database handle) on success, false on error.
*/
function sqlite_open($filename, $mode = null, &$error_message = null) {}
@@ -595,8 +600,9 @@
* @param string &$error_message [optional] <p>
* Passed by reference and is set to hold a descriptive error message
* explaining why the database could not be opened if there was an error.
* </p>
+ * @param-out string $error_message
* @return resource|false <p>a resource (database handle) on success, false on error.</p>
*/
function sqlite_popen($filename, $mode = null, &$error_message = null) {}
@@ -636,8 +642,9 @@
* specially important because SQL syntax errors can't be fetched using
* the
* {@see sqlite_last_error} function.
* </p>
+ * @param-out string $error_msg
* @return resource|false This function will return a result handle or <b>FALSE</b> on failure.
* For queries that return rows, the result handle can then be used with
* functions such as
* {@see sqlite_fetch_array} and
@@ -678,8 +685,9 @@
* specially important because SQL syntax errors can't be fetched using
* the
* {@see sqlite_last_error} function.
* </p>
+ * @param-out string $error_msg
* @return bool <p>This function will return a boolean result; true for success or false for failure.
* If you need to run a query that returns rows, see sqlite_query.</p>
*/
function sqlite_exec($dbhandle, $query, &$error_msg = null) {}
@@ -1087,8 +1095,9 @@
* The specified variable will be filled if an error occurs. This is
* specially important because SQL syntax errors can't be fetched using
* the sqlite_last_error function.
* </p>
+ * @param-out string $error_msg
* @return SQLiteUnbuffered|false a result handle or false on failure.
* <p>
* sqlite_unbuffered_query returns a sequential
* forward-only result set that can only be used to read each row, one after
@@ -1159,8 +1168,9 @@
* @param string &$error_message [optional] <p>
* Passed by reference and is set to hold a descriptive error message
* explaining why the database could not be opened if there was an error.
* </p>
+ * @param-out string $error_message
* @return SQLiteDatabase|null a SQLiteDatabase object on success, null on error.
*/
function sqlite_factory($filename, $mode = null, &$error_message = null) {}