mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
- MFH: Added parameter TSRMLS_DC in zend_is_callable()
This commit is contained in:
parent
11bc1de770
commit
e304515ddb
22 changed files with 39 additions and 37 deletions
|
@ -3354,14 +3354,14 @@ PHP_FUNCTION(sqlite_create_aggregate)
|
|||
DB_FROM_ZVAL(db, &zdb);
|
||||
}
|
||||
|
||||
if (!zend_is_callable(zstep, 0, &callable)) {
|
||||
if (!zend_is_callable(zstep, 0, &callable TSRMLS_CC)) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "step function `%s' is not callable", callable);
|
||||
efree(callable);
|
||||
return;
|
||||
}
|
||||
efree(callable);
|
||||
|
||||
if (!zend_is_callable(zfinal, 0, &callable)) {
|
||||
if (!zend_is_callable(zfinal, 0, &callable TSRMLS_CC)) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "finalize function `%s' is not callable", callable);
|
||||
efree(callable);
|
||||
return;
|
||||
|
@ -3405,7 +3405,7 @@ PHP_FUNCTION(sqlite_create_function)
|
|||
DB_FROM_ZVAL(db, &zdb);
|
||||
}
|
||||
|
||||
if (!zend_is_callable(zcall, 0, &callable)) {
|
||||
if (!zend_is_callable(zcall, 0, &callable TSRMLS_CC)) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "function `%s' is not callable", callable);
|
||||
efree(callable);
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue