diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c4f0328..59d4058 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: @@ -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 diff --git a/ibm_db2.c b/ibm_db2.c index 5ee0c5c..f9d1ba5 100644 --- a/ibm_db2.c +++ b/ibm_db2.c @@ -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); */