Edit report at https://bugs.php.net/bug.php?id=61838&edit=1
ID: 61838 Updated by: u...@php.net Reported by: jpa...@php.net Summary: mysqli_get_cache_stats() does nothing -Status: Open +Status: Not a bug Type: Bug Package: MySQL related Operating System: Linux PHP Version: 5.3.10 Block user comment: N Private report: N New Comment: Good find, but... - it is marked as undocumented. Means, it can return pretty much anything, including nothing. - it is marked as deprecated. Whether this is sufficient or not, well, Docs team can decide on adding a note.I would say its OK as it is. Thus, setting to "not a bug". Previous Comments: ------------------------------------------------------------------------ [2012-04-24 14:19:38] jpa...@php.net Description: ------------ mysqli_get_cache_stats() just return an empty array, always. It has not been implemented, but it's documented :) Test script: --------------- See source code of mysqli_get_cache_stats(), it always returns an empty array, whatever happens Expected result: ---------------- mysqli_get_cache_stats() returns useful data Actual result: -------------- mysqli_get_cache_stats() is useless actually ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=61838&edit=1