Skip to content

Commit 4121757

Browse files
committed
added new in 8.2 mysqli_execute_query()
1 parent dc4bb86 commit 4121757

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

mysqli/mysqli.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1858,6 +1858,16 @@ function mysqli_stmt_execute(mysqli_stmt $statement, #[PhpStormStubsElementAvail
18581858
#[Deprecated(since: '5.3')]
18591859
function mysqli_execute(mysqli_stmt $statement, #[PhpStormStubsElementAvailable('8.1')] ?array $params = null): bool {}
18601860

1861+
/**
1862+
* @param mysqli $mysql
1863+
* @param string $query
1864+
* @param array|null $params
1865+
* @return mysqli_result|bool
1866+
* @since 8.2
1867+
*/
1868+
function mysqli_execute_query(mysqli $mysql, string $query, ?array $params = null): mysqli_result|bool {}
1869+
1870+
18611871
/**
18621872
* Returns the next field in the result set
18631873
* @link https://secure.php.net/manual/en/mysqli-result.fetch-field.php

0 commit comments

Comments
 (0)