com php-src: fixed bug #74413 wrong reflection on SQLite3::enableExceptions: NEWS ext/sqlite3/sqlite3.c

[email protected] (Joe Watkins)
Newsgroups php.cvs
Message-ID <[email protected]>
Commit:    b74b325aea79b281aff5369d461f5e2d748b0cfc
Author:    Joe Watkins <[email protected]>         Tue, 11 Apr 2017 12:13:21 +0100
Parents:   eb03f16442c7ee10842dde0140b933d2be60b84b
Branches:  PHP-7.0 PHP-7.1 master

Link:       http://git.php.net/?p=php-src.git;a=commitdiff;h=b74b325aea79b281aff5369d461f5e2d748b0cfc

Log:
fixed bug #74413 wrong reflection on SQLite3::enableExceptions

Bugs:
https://bugs.php.net/74413

Changed paths:
  M  NEWS
  M  ext/sqlite3/sqlite3.c


Diff:
diff --git a/NEWS b/NEWS
index 889fd1d..68ba3b7 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 8056404..c5006db 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()
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.