Re: [PHP-DEV] mysqli_fetch_all(MYSQLI_OBJECT)

2025-02-22 Thread Gareth Peters
On Sunday, 23 February 2025 at 03:09:38 GMT, Kamil Tekiela wrote: Hi, Could you share the implementation? Regards, Kamil Hi Kamil Thank you for your interest. I appreciated your prior work on mysqli such as the default error mode change. https://github.com/ecvej/php-src/tree/mysqli-fetc

Re: [PHP-DEV] mysqli_fetch_all(MYSQLI_OBJECT)

2025-02-22 Thread Kamil Tekiela
Hi, Could you share the implementation? Regards, Kamil

[PHP-DEV] mysqli_fetch_all(MYSQLI_OBJECT)

2025-02-22 Thread Gareth Peters
Hi all I've written code to expand the functionality of mysqli_fetch_all. It allows you to fetch all results as objects rather than just arrays. It has the same features as fetch_object, such as being able to specify the name of a class to instantiate and being able to pass in an array of const