]> granicus.if.org Git - php/commitdiff
SQLite3::open/__construct has 2 optional args
authorRasmus Lerdorf <rasmus@php.net>
Tue, 7 Jul 2015 18:53:07 +0000 (11:53 -0700)
committerRasmus Lerdorf <rasmus@php.net>
Tue, 7 Jul 2015 18:53:07 +0000 (11:53 -0700)
ext/sqlite3/sqlite3.c

index b16cba3668071a9f188c29bf1744fa2aebfb0194..07e37a897e4e04e3612b6dcc835e244e290af347 100644 (file)
@@ -1820,7 +1820,7 @@ PHP_METHOD(sqlite3result, __construct)
 /* }}} */
 
 /* {{{ arginfo */
-ZEND_BEGIN_ARG_INFO(arginfo_sqlite3_open, 0)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_sqlite3_open, 0, 0, 1)
        ZEND_ARG_INFO(0, filename)
        ZEND_ARG_INFO(0, flags)
        ZEND_ARG_INFO(0, encryption_key)