I've scanned through the PHP documentation regarding the MySQLi class, and have read it's possible but cannot seem to find what option to set to prevent Prepared Statements from returning native data types for results, rather than just strings.
From Example #5 on this php documentation page, it says
By default, non-prepared statements return all results as strings. This default can be changed using a connection option. If the connection option is used, there are no differences.
But what's the connection option and how do I go about setting it?
Currently my non prepared statements and prepared statements are outputting data like this..
Non Prepared (Normal Query):
"Foo" => (string)"1"
Prepared:
"Foo" => (int)1
I want them both to return strings for output.