Kamil Tekiela
082b964dfa
Remove ifdefs from stub file
2024-08-25 10:32:50 +02:00
Kamil Tekiela
c290996db6
Remove MYSQLI_TYPE_INTERVAL constant
2024-08-21 12:14:47 +02:00
Kamil Tekiela
a1ab846231
MySQL 9: Add support for VECTOR type ( #15431 )
2024-08-20 17:34:52 +02:00
Kamil Tekiela
6c7ff08920
Drop MYSQLI_CURSOR_TYPE_FOR_UPDATE & MYSQLI_CURSOR_TYPE_SCROLLABLE ( #15486 )
2024-08-19 13:54:40 +02:00
Kamil Tekiela
c316382acb
Remove MYSQLI_STMT_ATTR_PREFETCH_ROWS constant ( #15485 )
...
This feature was never implemented, and since the
beginning, using this constant with mysqlnd would
result in an error.
This feature was only available with libmysqlclient
which can no longer be used with mysqli.
There are no plans to implement it in the future.
2024-08-19 13:04:56 +02:00
Kamil Tekiela
8ca8d7750d
Deprecate MYSQLI_REFRESH_* constants ( #15358 )
2024-08-12 13:24:32 +01:00
Gina Peter Banyard
4f58d5b0df
ext/mysqli: Deprecate passing the parameter to mysqli_store_result() ( #15311 )
...
And deprecate the MYSQLI_STORE_RESULT_COPY_DATA constant.
RFC: https://wiki.php.net/rfc/deprecations_php_8_4#deprecate_the_second_parameter_to_mysqli_store_result
2024-08-11 19:25:35 +01:00
Gina Peter Bnayard
efd33f57c7
ext/mysqli: mysqli_report() only ever returns true
2024-08-11 17:27:09 +02:00
Kamil Tekiela
7801f40449
Deprecate mysqli_kill ( #11926 )
2024-08-09 19:50:35 +02:00
Kamil Tekiela
cbcad9fdaf
Deprecate mysqli_ping ( #11945 )
2024-08-09 18:32:21 +02:00
Kamil Tekiela
42336e1359
Deprecate mysqli_refresh ( #11929 )
2024-08-09 15:47:49 +01:00
Tim Düsterhus
29f98e7485
Replace @deprecated
by #[\Deprecated]
for internal functions / class constants ( #14750 )
...
Co-authored-by: Gina Peter Banyard <girgias@php.net>
Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com>
2024-07-10 16:47:31 +02:00
Kamil Tekiela
62a3bbd0e3
Remove MYSQLI_SET_CHARSET_DIR ( #14724 )
2024-06-29 22:21:03 +02:00
Máté Kocsis
b06c95b631
Declare the missing true return types ( #13709 )
2024-03-16 07:26:37 +01:00
Máté Kocsis
577db99462
Verify stub aliases in CI ( #13682 )
...
In the same time, let's not verify implementation aliases since they may now legitimately differ from their aliased function/method counterparts (think about the ext/dom refactoring where e.g. many return type declarations have changed). Additionally, unnecessary `@no-verify` tags are cleaned up.
2024-03-13 23:32:35 +01:00
Kamil Tekiela
0b887042ae
mysqli_field_seek return type changed to true ( #11948 )
2023-08-14 19:04:34 +01:00
Máté Kocsis
e328c68305
Rename @cname to @cvalue in stubs ( #9043 )
...
@cname currently refers to the constant name in C. However, it is not always a (constant) name, but sometimes a function invocation, so naming it as @cvalue would be more appropriate.
2022-07-19 15:11:42 +02:00
Kamil Tekiela
5a69cb6fa1
Deprecate MYSQLI_IS_MARIADB
...
Closes GH-8919
2022-07-19 11:19:41 +01:00
Máté Kocsis
f0d536844f
Declare ext/mysqli constants in stubs ( #8811 )
2022-07-18 13:00:35 +02:00
Tim Düsterhus
342e18f105
Support the actual #[\SensitiveParameter]
attribute in stubs ( #8836 )
2022-07-12 12:43:44 +02:00
Kamil Tekiela
1dc51c7b90
Implement mysqli_execute_query() ( #8660 )
2022-07-06 12:23:46 +01:00
Máté Kocsis
49d3dde211
Declare true return types ( #8759 )
2022-06-18 22:06:50 +02:00
Tim Düsterhus
3a4d1b6131
Mark parameter in ext/mysqli as sensitive
2022-06-13 11:09:12 +02:00
Máté Kocsis
debd38f851
Add support for sensitive parameters in stubs
2022-06-04 18:15:05 +02:00
Kamil Tekiela
01cbe390ca
Remove mysqli_driver::$reconnect property
2022-05-30 15:28:08 +01:00
Kamil Tekiela
d84dfa3292
Remove MYSQLI_USE_MYSQLND constant and all the code with it
2022-05-30 15:28:08 +01:00
Máté Kocsis
2b4fee03af
Mark ext/mysqli properties as readonly for documentation purposes
2022-04-05 13:24:21 +02:00
Máté Kocsis
62e4ac9439
Add support for custom property links
...
Closes GH-7892
2022-01-07 08:28:26 +01:00
Máté Kocsis
f70ca0acd4
Mark mysqli_driver properties readonly
2022-01-04 08:41:02 +01:00
Kamil Tekiela
8869bbe0e9
Fix bug GH-7746 (mysqli_sql_exception->sqlstate is inaccessible)
...
Closes GH-7747
2021-12-30 14:23:06 +00:00
Máté Kocsis
1bf1481a2a
Specify a few array func info entries ( #7425 )
2021-08-30 14:29:18 +02:00
Máté Kocsis
8e6e9838b0
Add support for generating MAY_BE_ARRAY_OF_REF func info flag ( #7416 )
2021-08-30 13:50:34 +02:00
Máté Kocsis
7d3cdb3681
Fix mysqli stub alias verification issues
...
I had to add a few no-verify annotations since the return type of the function and method counterparts cannot be aligned properly (easily)
2021-08-26 17:36:53 +02:00
Máté Kocsis
17ccabc6b6
Generate optimizer func info from stubs for ext/curl, ext/mysqli, ext/pcre ( #7407 )
2021-08-26 17:11:45 +02:00
Máté Kocsis
fc0d8983d3
Fix some smaller formatting inconsistencies in stubs
2021-07-20 00:52:26 +02:00
Nikita Popov
625b89af2f
Deprecate mysqli::init()
...
In favor of parent::__construct().
Part of https://wiki.php.net/rfc/deprecations_php_8_1 .
2021-07-08 16:45:05 +02:00
Máté Kocsis
6af5b369d7
Merge branch 'PHP-8.0'
...
* mysqli_get_client_info() cannot return null
2021-05-26 17:49:39 +02:00
Máté Kocsis
ceb0951fa5
mysqli_get_client_info() cannot return null
...
This method is already deprecated
2021-05-26 17:48:35 +02:00
Máté Kocsis
01775fa104
Declare tentative return types for ext/mysqli ( #6998 )
2021-05-26 17:29:58 +02:00
Máté Kocsis
1a1a9b2e4a
Merge branch 'PHP-8.0'
...
* Fix the return type of mysqli_connect()
2021-05-26 12:11:09 +02:00
Máté Kocsis
97f7279353
Fix the return type of mysqli_connect()
2021-05-26 12:07:02 +02:00
Máté Kocsis
a6c9f148b6
Merge branch 'PHP-8.0'
...
* Fix return type of mysqli::connect()
2021-05-26 11:56:21 +02:00
Máté Kocsis
86ef34fc61
Fix the return type of mysqli::connect()
2021-05-26 11:55:03 +02:00
Máté Kocsis
4ece535f19
Merge branch 'PHP-8.0'
...
* Fix return type of php_user_filter::onCreate()
* Fix return type of mysqli::init()
* Fix return type of UConverter::fromUCallback() and UConverter::toUCallback()
2021-05-07 15:23:28 +02:00
Máté Kocsis
e8361eb0e3
Fix return type of mysqli::init()
2021-05-07 15:21:41 +02:00
Kamil Tekiela
54222a6fe4
Implement mysqli_fetch_column ( #6798 )
...
* Implement mysqli_fetch_column
2021-05-01 20:11:47 +01:00
Máté Kocsis
30a082cb16
Make some exception properties typed
...
Closes GH-6891
2021-04-22 10:22:50 +02:00
Kamil Tekiela
45bad6474e
Mysqli bind in execute ( #6271 )
2021-04-14 12:52:51 +01:00
Nikita Popov
d905e77483
Enforce types when writing to mysqli dynamic properties
...
Previously this just assumed that the value was of a certain type.
I'm doing this in a generic way that checks against the declared
property type -- the handler function can then assume the value
to be of the correct type.
2021-04-13 15:30:56 +02:00
Dharman
7e9f6d2a48
Deprecate OO style mysqli::get_client_info method
...
Deprecate passing connection object to mysqli_get_client_info()
Closes GH-6777.
2021-03-17 20:10:18 +00:00