Skip to content

Commit 910f7b5

Browse files
fixed compile error on older php versions (lower than 8)
1 parent 52895f5 commit 910f7b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ INSTALL_LIB = ${INSTALL_PREFIX}/lib
5050
#
5151

5252
SONAME = 2.4
53-
VERSION = 2.4.6
53+
VERSION = 2.4.7
5454

5555

5656
#

zend/file.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ bool File::compile()
6767
#if PHP_VERSION_ID < 80100
6868

6969
// open the file
70-
if (zend_stream_open(ZSTR_VAL(_path), &fileHandle) == FAILURE) return false;
70+
if (zend_stream_open(ZSTR_VAL(_path), &filehandle) == FAILURE) return false;
7171

7272
#else
7373

0 commit comments

Comments
 (0)