Re: [PHP-DEV] mysqli_fetch_all(MYSQLI_OBJECT)

2025-04-12 Thread Gareth Peters
On Sunday, 23 February 2025 at 02:57:07 GMT, Gareth Peters wrote: 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

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

[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