Skip to content

Commit 5c9a31a

Browse files
fixed error_reporting() call (a later call from php userspace after calling the c++ error_reporting() function caused a crash)
1 parent 910f7b5 commit 5c9a31a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
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.7
53+
VERSION = 2.4.8
5454

5555

5656
#

zend/exception_handler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Value error_reporting(Message message)
8787
static String entry{ "error_reporting" };
8888

8989
// alter the ini on the fly
90-
zend_alter_ini_entry(entry, String(str, size), ZEND_INI_USER, ZEND_INI_STAGE_RUNTIME);
90+
zend_alter_ini_entry_chars(entry, str, size, ZEND_INI_USER, ZEND_INI_STAGE_RUNTIME);
9191

9292
// return the output
9393
return output;

0 commit comments

Comments
 (0)