Skip to content

Commit fce8de6

Browse files
Heena BansalHeena Bansal
authored andcommitted
Support PHp 8.5
1 parent 563f262 commit fce8de6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
ubuntu:
1212
strategy:
1313
matrix:
14-
version: ['7.3.', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
14+
version: ['7.3.', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5']
1515
runs-on: ubuntu-latest
1616
services:
1717
ibm_db2:
@@ -104,7 +104,7 @@ jobs:
104104
shell: cmd
105105
strategy:
106106
matrix:
107-
version: ["8.1", "8.2", "8.3", "8.4"]
107+
version: ["8.1", "8.2", "8.3", "8.4", "8.5"]
108108
arch: [x64]
109109
ts: [ts]
110110
runs-on: windows-latest

ibm_db2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4289,7 +4289,7 @@ static int _php_db2_bind_pad(param_node *curr, int nullterm, int isvarying, int
42894289
* each string (or atom) is allocated once and never changed (immutable)
42904290
* aka, not useful for INOUT and OUT parameters obviously
42914291
*/
4292-
if (IS_INTERNED(Z_STR_P(*data))) {
4292+
if (ZSTR_IS_INTERNED(Z_STR_P(*data))) {
42934293
/* Need use macro assignment to avoid leak in php 7. (Thanks Dimitry)
42944294
* Z_STR_P(*data) = zend_string_init(Z_STRVAL_P(*data), Z_STRLEN_P(*data), 0);
42954295
*/

0 commit comments

Comments
 (0)