Skip to content

Commit

Permalink
fixed compile error on older php versions (lower than 8)
Browse files Browse the repository at this point in the history
  • Loading branch information
EmielBruijntjes committed Oct 21, 2024
1 parent 52895f5 commit 910f7b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ INSTALL_LIB = ${INSTALL_PREFIX}/lib
#

SONAME = 2.4
VERSION = 2.4.6
VERSION = 2.4.7


#
Expand Down
2 changes: 1 addition & 1 deletion zend/file.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ bool File::compile()
#if PHP_VERSION_ID < 80100

// open the file
if (zend_stream_open(ZSTR_VAL(_path), &fileHandle) == FAILURE) return false;
if (zend_stream_open(ZSTR_VAL(_path), &filehandle) == FAILURE) return false;

#else

Expand Down

0 comments on commit 910f7b5

Please sign in to comment.