intelephense

1.14.41.16.1
lib/stub/mysqli/mysqli.php
lib/stub/mysqli/mysqli.php
+11
Index: package/lib/stub/mysqli/mysqli.php
===================================================================
--- package/lib/stub/mysqli/mysqli.php
+++ package/lib/stub/mysqli/mysqli.php
@@ -745,12 +745,15 @@
      * Poll connections
      * @link https://php.net/manual/en/mysqli.poll.php
      * @param array &$read <p>
      * </p>
+     * @param-out array $read
      * @param array &$error <p>
      * </p>
+     * @param-out array $error
      * @param array &$reject <p>
      * </p>
+     * @param-out array $reject
      * @param int $seconds <p>
      * Number of seconds to wait, must be non-negative.
      * </p>
      * @param int $microseconds [optional] <p>
@@ -1568,18 +1571,22 @@
      * @param mixed &$var1 <p>
      * The number of variables and length of string
      * types must match the parameters in the statement.
      * </p>
+     * @param-out mixed $var1
      * @param mixed &...$_ [optional]
+     * @param-out mixed $_
      * @return bool true on success or false on failure.
      */
     public function bind_param($types, &$var1, &...$_) {}
 
     /**
      * Binds variables to a prepared statement for result storage
      * @link https://php.net/manual/en/mysqli-stmt.bind-result.php
      * @param mixed &$var1 The variable to be bound.
+     * @param-out mixed $var1
      * @param mixed &...$_ The variables to be bound.
+     * @param-out mixed ...$_
      * @return bool true on success or false on failure.
      */
     public function bind_result(&$var1, &...$_) {}
 
@@ -1930,8 +1937,9 @@
  * @param array|null $params [optional] An optional list array with as many elements
  * as there are bound parameters in the SQL statement being executed. Each value is treated as a string.
  * @return bool
  */
+#[Deprecated(since: '8.5')]
 function mysqli_execute(mysqli_stmt $statement, #[StubsElementAvailable('8.1')] ?array $params = null): bool {}
 
 /**
  * <p>Prepares the SQL query, binds parameters, and executes it. The
@@ -2653,9 +2661,11 @@
  * @param mixed &$var1 <p>
  * The number of variables and length of string
  * types must match the parameters in the statement.
  * </p>
+ * @param-out mixed $var1
  * @param mixed &...$vars
+ * @param-out mixed $vars
  * @return bool true on success or false on failure.
  */
 function mysqli_stmt_bind_param(
     mysqli_stmt $statement,
@@ -2911,8 +2921,9 @@
  * @link https://php.net/manual/en/function.mysqli-bind-result.php
  * @param mysqli_stmt $statement
  * @param string $types
  * @param mixed &$var1
+ * @param-out mixed $var1
  * @removed 5.4
  */
 #[Deprecated(since: '5.3')]
 function mysqli_bind_result(mysqli_stmt $statement, string $types, mixed &$var1) {}