Skip to content

Support PHP 8.5 #66

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
ubuntu:
strategy:
matrix:
version: ['7.3.', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
version: ['7.3.', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5']
runs-on: ubuntu-latest
services:
ibm_db2:
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
shell: cmd
strategy:
matrix:
version: ["8.1", "8.2", "8.3", "8.4"]
version: ["8.1", "8.2", "8.3", "8.4", "8.5"]
arch: [x64]
ts: [ts]
runs-on: windows-latest
Expand Down
2 changes: 1 addition & 1 deletion ibm_db2.c
Original file line number Diff line number Diff line change
Expand Up @@ -4289,7 +4289,7 @@ static int _php_db2_bind_pad(param_node *curr, int nullterm, int isvarying, int
* each string (or atom) is allocated once and never changed (immutable)
* aka, not useful for INOUT and OUT parameters obviously
*/
if (IS_INTERNED(Z_STR_P(*data))) {
if (ZSTR_IS_INTERNED(Z_STR_P(*data))) {
/* Need use macro assignment to avoid leak in php 7. (Thanks Dimitry)
* Z_STR_P(*data) = zend_string_init(Z_STRVAL_P(*data), Z_STRLEN_P(*data), 0);
*/
Expand Down