Re: mysqli_get_cache_stats() has vanished
| From: | Christoph Becker | Date: | Tue, 25 Aug 2015 12:22:05 +0000 |
| Subject: | Re: mysqli_get_cache_stats() has vanished | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-87906@lists.php.net to get a copy of this message | ||
On 25.08.2015 at 14:03, Lior Kaplan wrote:
> This might help:
>
>
> https://github.com/php/php-src/commit/f9ad56eab9e0010231643d51a0e0038f99f2f94b
Thanks, Lior.
Apparently the function was finally removed as of PHP 5.4.0. I'm going
to remove the superfluous forward declaration, and update the manual.
> On Tue, Aug 25, 2015 at 2:25 PM, Christoph Becker <cmbecker69@gmx.de> wrote:
>
>> Hi!
>>
>> Does anybody know what happened to mysqli_get_cache_stats()?
>> Apparently, its implementation has vanished between two consecutive
>> commits:
>> <
>> È2¤[ƒûYSð½Ó
>> D‘https://github.com/php/php-src/blob/40fabf68edd5524b9ce0cda925d6c7888d8441c3/ext/mysqli/mysqli_nonapi.c
>>> ,
>> <
>>
>> https://github.com/php/php-src/blob/b6898195674a26bf6588c284a6a2616bbaaa908f/ext/mysqli/mysqli_nonapi.c
>>> .
>>
>> It seems that happened accidentally, as the respective forward
>> declaration in mysqli_fe.h is still there, and the removal doesn't seem
>> to be documented (neither in NEWS nor UPGRADING).
>>
>> I wonder what to do now, as the function never had a useful
>> implementation. Shall it be officially removed?
>>
>> See also the related bug reports
>> <https://bugs.php.net/bug.php?id=61838>
>> and <https://bugs.php.net/bug.php?id=70352>.
--
Christoph M. Becker