summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Watkins <krakjoe@php.net>2017-04-11 12:13:21 +0100
committerJoe Watkins <krakjoe@php.net>2017-04-11 12:14:25 +0100
commitb74b325aea79b281aff5369d461f5e2d748b0cfc (patch)
treecbb3b0bce4ee95691ac5d4e4fa76a138120d1f81
parenteb03f16442c7ee10842dde0140b933d2be60b84b (diff)
downloadphp-git-b74b325aea79b281aff5369d461f5e2d748b0cfc.tar.gz
fixed bug #74413 wrong reflection on SQLite3::enableExceptions
-rw-r--r--NEWS4
-rw-r--r--ext/sqlite3/sqlite3.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 889fd1d319..68ba3b75aa 100644
--- a/NEWS
+++ b/NEWS
@@ -33,6 +33,10 @@ PHP NEWS
. Fixed bug #74409 (Reflection information for ini_get_all() is incomplete).
(Sebastian Bergmann)
+- SQLite3:
+ . Fixed bug #74413 (incorrect reflection for SQLite3::enableExceptions).
+ (krakjoe)
+
13 Apr 2017 PHP 7.0.18
- Core:
diff --git a/ext/sqlite3/sqlite3.c b/ext/sqlite3/sqlite3.c
index 80564049b2..c5006db880 100644
--- a/ext/sqlite3/sqlite3.c
+++ b/ext/sqlite3/sqlite3.c
@@ -1930,7 +1930,7 @@ ZEND_BEGIN_ARG_INFO_EX(argingo_sqlite3_openblob, 0, 0, 3)
ZEND_ARG_INFO(0, dbname)
ZEND_END_ARG_INFO()
-ZEND_BEGIN_ARG_INFO_EX(argingo_sqlite3_enableexceptions, 0, 0, 1)
+ZEND_BEGIN_ARG_INFO_EX(argingo_sqlite3_enableexceptions, 0, 0, 0)
ZEND_ARG_INFO(0, enableExceptions)
ZEND_END_ARG_INFO()