php-src/ext
Calvin Buckley 60047025db
Remove references to ODBCVER and assume ODBC 3.x (#19453)
* Remove references to ODBCVER and assume ODBC 3.x

See https://wiki.php.net/rfc/deprecations_php_8_5#remove_support_for_older_odbc_versions

* Avoid calling deprecated ODBC functions

`SQLGetConnectOption`, `SQLSetConnectOption` and `SQLSetStmtOption` are
deprecated, so if ODBC 3 is available, we use `SQLSetConnectAttr`,
`SQLGetConnectAttr`, and `SQLSetStmtAttr` instead.

(This is based on GH-17556, but just assumes ODBC 3.x.)

* Remove wrappers for SQLColAttribute

We don't need to support the old way of doing it.

* Just call SQLAllocHandle directly

Again, no need for the version specific wrapper

* Update NEWS for ODBCVER in beta2

* [skip ci] UPGRADING for ODBCVER changes

---------

Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2025-08-12 18:05:43 -03:00
..
bcmath ext/bcmath: use vector in compare (#18859) 2025-06-21 01:34:42 +09:00
bz2 ext/bz2: Remove bool type coercions in tests 2025-06-21 22:19:19 +02:00
calendar Merge branch 'PHP-8.4' 2025-08-07 19:09:03 +02:00
com_dotnet RFC: Clone with v2 (#18747) 2025-07-17 21:13:42 +02:00
ctype Add macos 15 to push GH action (GH-18514) 2025-07-24 15:02:06 +02:00
curl [RFC] Deprecate curl_share_close() (#19452) 2025-08-12 05:49:52 -07:00
date RFC: Deprecate date constant RFC7231 (#12989) 2025-08-12 11:33:38 +01:00
dba Generated arginfo headers: combine preprocessor conditional blocks (2) (#18667) 2025-06-22 14:35:28 -07:00
dl_test Merge branch 'PHP-8.4' 2025-03-14 10:51:50 +01:00
dom Backport Lexbor changes to 8.4 2025-08-10 14:17:19 +02:00
enchant Arginfo: reuse zend_string objects for initializing attribute values (#19241) 2025-07-27 17:27:22 -07:00
exif ext/exif: Remove bool type coercions in tests 2025-06-21 22:19:28 +02:00
ffi Use win32 glob implementation on all platforms (#18164) 2025-05-20 16:20:59 -03:00
fileinfo ext/finfo: Deprecate the parameter for finfo_buffer() (#19378) 2025-08-09 17:42:19 +01:00
filter Arginfo: reuse zend_string objects for initializing attribute values (#19241) 2025-07-27 17:27:22 -07:00
ftp Merge branch 'PHP-8.4' 2025-07-25 12:05:17 +02:00
gd [RFC] Deprecate imagedestroy() (#19454) 2025-08-12 05:50:09 -07:00
gettext [skip ci] tree: Fix various typos (#19366) 2025-08-04 15:15:52 +01:00
gmp ext/gmp: Remove bool type coercions in tests 2025-06-21 22:19:37 +02:00
hash Use proper hash_spec_result enum for return values in ext/hash (#19386) 2025-08-09 12:56:40 +02:00
iconv Remove dead error checks for php_stream_filter_alloc() (#19194) 2025-08-12 22:18:39 +02:00
intl ext/intl: Deprecate intl.error_level INI setting (#19430) 2025-08-09 16:28:47 +01:00
json ext/json: Refactor php_json_encode_array() 2025-08-05 18:21:15 +01:00
ldap ext/ldap: Use size_t type instead of int type 2025-08-06 16:36:13 +01:00
lexbor Merge branch 'PHP-8.4' 2025-08-10 14:21:47 +02:00
libxml [RFC] Deprecate xml_parser_free() (#19449) 2025-08-12 05:44:32 -07:00
mbstring Merge branch 'PHP-8.4' 2025-08-08 20:33:00 +02:00
mysqli mysqli: Deprecate mysqli_execute() (#19286) 2025-08-08 21:23:31 +01:00
mysqlnd Use <winsock2.h> instead of legacy <winsock.h> (#19037) 2025-07-07 09:40:03 +02:00
odbc Remove references to ODBCVER and assume ODBC 3.x (#19453) 2025-08-12 18:05:43 -03:00
opcache zend_compile: Deprecate backticks as an alias for shell_exec() (#19443) 2025-08-12 12:02:13 +02:00
openssl Merge branch 'PHP-8.4' 2025-08-12 17:30:07 +02:00
pcntl Refresh zend_mm shadow key on fork 2025-07-29 14:00:37 +02:00
pcre Autotools: Update ax_check_compile_flag.m4 to serial 11 (#19127) 2025-08-09 02:03:37 +02:00
pdo pdo: Deprecate the uri: DSN scheme (#19274) 2025-08-08 21:24:15 +01:00
pdo_dblib pdo_dblib: Use stack local array instead of heap allocation (#18801) 2025-06-09 11:13:46 +02:00
pdo_firebird Merge branch 'PHP-8.4' 2025-04-19 14:11:35 +09:00
pdo_mysql pdo: Deprecate the uri: DSN scheme (#19274) 2025-08-08 21:24:15 +01:00
pdo_odbc pdo_odbc: Don't fetch 256 byte blocks for long columns (#10809) 2025-07-10 13:03:11 -03:00
pdo_pgsql tree: replace some unnecessary uses of spprintf (#19354) 2025-08-05 17:25:47 +01:00
pdo_sqlite pdo: Deprecate the uri: DSN scheme (#19274) 2025-08-08 21:24:15 +01:00
pgsql streams: use type zend_result instead of type int 2025-08-04 15:30:57 +01:00
phar zend_compile: Deprecate backticks as an alias for shell_exec() (#19443) 2025-08-12 12:02:13 +02:00
posix Fixed GH-19381: posix_kill_pidoverflow test depends on pcntl too. (#19382) 2025-08-05 20:03:21 +01:00
random Arginfo: avoid using temporary zvals for initializing attribute values (#19141) 2025-07-21 13:33:51 -07:00
readline Fix bug #51558: shared readline build fails (#15242) 2025-07-27 15:33:48 +02:00
reflection [RFC] Deprecate ReflectionProperty::getDefaultValue() without default (#19457) 2025-08-12 05:50:27 -07:00
session zend_compile: Deprecate backticks as an alias for shell_exec() (#19443) 2025-08-12 12:02:13 +02:00
shmop Arginfo: avoid using temporary zvals for initializing attribute values (#19141) 2025-07-21 13:33:51 -07:00
simplexml tree: drop non canonical casts and ZPP tests 2025-08-06 13:20:28 +01:00
skeleton
snmp ext/snmp: no need to use a smart_string for error message (#19171) 2025-07-18 16:43:39 +01:00
soap Fix GH-19226: Segfault when spawning new thread in soap extension 2025-07-24 11:56:43 +02:00
sockets [skip ci] ext/sockets: remove tests that leak memory (#19408) 2025-08-07 21:50:04 +01:00
sodium Autotools: Update ax_check_compile_flag.m4 to serial 11 (#19127) 2025-08-09 02:03:37 +02:00
spl ext/spl: Deprecate SplObjectStorage::contains(), SplObjectStorage::attach(), and SplObjectStorage::detach() (#19424) 2025-08-09 11:36:14 +01:00
sqlite3 ext/sqlite3: relax sqlite3 explain test conditions (#18949) 2025-06-29 13:58:58 +01:00
standard Remove dead error checks for php_stream_filter_alloc() (#19194) 2025-08-12 22:18:39 +02:00
sysvmsg tree: replace some unnecessary uses of spprintf (#19354) 2025-08-05 17:25:47 +01:00
sysvsem ext/sysvsem: use bool type instead of int 2025-07-28 15:33:22 +01:00
sysvshm Fix exception handling in shm_put_var() (#19279) 2025-07-29 17:31:06 +02:00
tidy tree: drop non canonical casts and ZPP tests 2025-08-06 13:20:28 +01:00
tokenizer RFC: Pipe operator (#17118) 2025-06-10 09:59:43 +02:00
uri uri: Improve exceptions for Uri\Rfc3986\Uri (#19161) 2025-07-18 17:38:44 +02:00
xml [RFC] Deprecate xml_parser_free() (#19449) 2025-08-12 05:44:32 -07:00
xmlreader Merge branch 'PHP-8.4' 2025-07-20 17:20:53 +02:00
xmlwriter ext/standard/file: clarify fclose() warning 2025-03-24 22:54:34 +00:00
xsl tree: use zend_str_has_nul_byte() API (#19336) 2025-07-31 23:57:27 +01:00
zend_test reflection: Deprecate Reflection*::setAccessible() (#19273) 2025-08-08 21:24:41 +01:00
zip Arginfo: reuse zend_string objects for initializing attribute values (#19241) 2025-07-27 17:27:22 -07:00
zlib ext/zlib: Refactor tests (#18887) 2025-06-21 18:03:50 +01:00
ext_skel.php