Skip to content

Commit 8e84846

Browse files
Heena BansalNattyNarwhal
authored andcommitted
PHP 8.5 removed deprecated alias for IS_INTERNED
1 parent f5d9cf8 commit 8e84846

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)