mysqli_fetch_all(MYSQLI_OBJECT)

From: Date: Sun, 23 Feb 2025 02:57:07 +0000
Subject: mysqli_fetch_all(MYSQLI_OBJECT)
References: 1  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
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 constructor
arguments.

Is this feature likely to be of wider interest? If yes I can set aside time to work on an RFC.

Gareth


Thread (5 messages)

« previous php.internals (#126476) next »