NYCPHP Meetup

NYPHP.org

[nycphp-talk] say it ain't so RE mysqli_stmt_bind_param()

Hans Zaunere lists at zaunere.com
Sun Mar 27 14:56:22 EST 2005


> Since flattery will get me everywhere, another question:  What's the
> benefit of binding output parameters? My guess would be speed.

Speed, yeah - especially when dealing with large sets of data - and memory consumption.  It's important to keep in mind the basic data flow between client (PHP) and the MySQL server.  There's storage on both endpoints, and with large data sets, memory can become a real premium.  The prepared statement syntax allows finer control over how/when to transfer data from the server, to the client, and finally into a PHP variable.

H





More information about the talk mailing list