Skip to content

Commit 7d764c7

Browse files
committed
Fix php_pcre_match_impl with 8.4
1 parent 963406f commit 7d764c7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pcov.c

+4
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,11 @@ static zend_always_inline zend_bool php_pcov_wants(zend_string *filename) { /* {
137137
ZSTR_VAL(filename), ZSTR_LEN(filename),
138138
#endif
139139
&match, NULL,
140+
#if PHP_VERSION_ID >= 80400
141+
false, 0, 0);
142+
#else
140143
0, 0, 0, 0);
144+
#endif
141145

142146
if (zend_is_true(&match)) {
143147
zend_hash_add_empty_element(

0 commit comments

Comments
 (0)