mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Allow null callback to array_filter()
With same behavior as not passing it.
This commit is contained in:
parent
9122638ecd
commit
50a9f511cc
7 changed files with 22 additions and 7 deletions
|
@ -1361,7 +1361,7 @@ PHP_METHOD(SQLite3, setAuthorizer)
|
|||
zend_fcall_info_cache fcc;
|
||||
|
||||
ZEND_PARSE_PARAMETERS_START(1, 1)
|
||||
Z_PARAM_FUNC_EX(fci, fcc, 1, 0)
|
||||
Z_PARAM_FUNC_OR_NULL(fci, fcc)
|
||||
ZEND_PARSE_PARAMETERS_END();
|
||||
|
||||
SQLITE3_CHECK_INITIALIZED(db_obj, db_obj->initialised, SQLite3)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue