mirror of
https://github.com/php/php-src.git
synced 2025-08-17 06:28:50 +02:00
![]() Instead of requiring the type to be determined in advance by the describer function and then requiring get_col to return a buffer of appropriate type, allow get_col to return an arbitrary zval. See UPGRADING.INTERNALS for a more detailed description of the change. This makes the result fetching simpler, more efficient and more flexible. The general possibility already existed via the special PDO_PARAM_ZVAL type, but the usage was very inconvenient and/or inefficient. Now it's possible to easily implement behavior like "return int if it fits, otherwise string" and to avoid any kind of complex management of temporary buffers. This also fixes bug #40913 (our second highest voted bug of all time, for some reason). PARAM_LOB result bindings will now consistently return a stream resource, independently of the used database driver. I've tried my best to update all PDO drivers for this change, but some of the changes may be broken, as I cannot test or even build some of these drivers (in particular PDO dblib and PDO oci). Fixes are appreciated -- a working CI setup would be even more appreciated ;) |
||
---|---|---|
.. | ||
bug36727.phpt | ||
bug43925.phpt | ||
bug46274.phpt | ||
bug46274_2.phpt | ||
bug48764.phpt | ||
bug61267.phpt | ||
bug62479.phpt | ||
bug62498-32bit.phpt | ||
bug62498.phpt | ||
bug62593.phpt | ||
bug64953.phpt | ||
bug66584.phpt | ||
bug67462.phpt | ||
bug68199.phpt | ||
bug68371.phpt | ||
bug69344.phpt | ||
bug69362.phpt | ||
bug69752.phpt | ||
bug70313.phpt | ||
bug70861.phpt | ||
bug71573.phpt | ||
bug71885.phpt | ||
bug71885_2.phpt | ||
bug72294.phpt | ||
bug72570.phpt | ||
bug72633.phpt | ||
bug73959.phpt | ||
bug75402.phpt | ||
bug_33876.phpt | ||
bug_49985.phpt | ||
bug_64705.phpt | ||
common.phpt | ||
config.inc | ||
CONFLICTS | ||
copy_from.phpt | ||
copy_to.phpt | ||
debug_emulated_prepares.phpt | ||
disable_prepares.phpt | ||
getnotify.phpt | ||
is_in_transaction.phpt | ||
large_objects.phpt |