File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,9 @@ PHP NEWS
44
44
- Standard:
45
45
. Fix serialization of RC1 objects appearing in object graph twice. (ilutov)
46
46
47
+ - SQLite3:
48
+ . Fix replaced error handling in SQLite3Stmt::__construct. (nielsdos)
49
+
47
50
- XMLReader:
48
51
. Fix GH-11548 (Argument corruption when calling XMLReader::open or
49
52
XMLReader::XML non-statically with observer active). (Bob)
Original file line number Diff line number Diff line change @@ -1824,7 +1824,6 @@ PHP_METHOD(SQLite3Stmt, __construct)
1824
1824
zval * db_zval ;
1825
1825
zend_string * sql ;
1826
1826
int errcode ;
1827
- zend_error_handling error_handling ;
1828
1827
php_sqlite3_free_list * free_item ;
1829
1828
1830
1829
stmt_obj = Z_SQLITE3_STMT_P (object );
@@ -1835,9 +1834,7 @@ PHP_METHOD(SQLite3Stmt, __construct)
1835
1834
1836
1835
db_obj = Z_SQLITE3_DB_P (db_zval );
1837
1836
1838
- zend_replace_error_handling (EH_THROW , NULL , & error_handling );
1839
1837
SQLITE3_CHECK_INITIALIZED (db_obj , db_obj -> initialised , SQLite3 )
1840
- zend_restore_error_handling (& error_handling );
1841
1838
1842
1839
if (!ZSTR_LEN (sql )) {
1843
1840
RETURN_FALSE ;
You can’t perform that action at this time.
0 commit comments