mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Use ZSTR_ API to access zend_string elements (this is just renaming without semantick changes).
This commit is contained in:
parent
8cce5b2641
commit
4a2e40bb86
169 changed files with 3285 additions and 3175 deletions
|
@ -533,7 +533,7 @@ static PHP_METHOD(SQLite, sqliteCreateFunction)
|
|||
PDO_CONSTRUCT_CHECK;
|
||||
|
||||
if (!zend_is_callable(callback, 0, &cbname)) {
|
||||
php_error_docref(NULL, E_WARNING, "function '%s' is not callable", cbname->val);
|
||||
php_error_docref(NULL, E_WARNING, "function '%s' is not callable", ZSTR_VAL(cbname));
|
||||
zend_string_release(cbname);
|
||||
RETURN_FALSE;
|
||||
}
|
||||
|
@ -603,13 +603,13 @@ static PHP_METHOD(SQLite, sqliteCreateAggregate)
|
|||
PDO_CONSTRUCT_CHECK;
|
||||
|
||||
if (!zend_is_callable(step_callback, 0, &cbname)) {
|
||||
php_error_docref(NULL, E_WARNING, "function '%s' is not callable", cbname->val);
|
||||
php_error_docref(NULL, E_WARNING, "function '%s' is not callable", ZSTR_VAL(cbname));
|
||||
zend_string_release(cbname);
|
||||
RETURN_FALSE;
|
||||
}
|
||||
zend_string_release(cbname);
|
||||
if (!zend_is_callable(fini_callback, 0, &cbname)) {
|
||||
php_error_docref(NULL, E_WARNING, "function '%s' is not callable", cbname->val);
|
||||
php_error_docref(NULL, E_WARNING, "function '%s' is not callable", ZSTR_VAL(cbname));
|
||||
zend_string_release(cbname);
|
||||
RETURN_FALSE;
|
||||
}
|
||||
|
@ -663,7 +663,7 @@ static PHP_METHOD(SQLite, sqliteCreateCollation)
|
|||
PDO_CONSTRUCT_CHECK;
|
||||
|
||||
if (!zend_is_callable(callback, 0, &cbname)) {
|
||||
php_error_docref(NULL, E_WARNING, "function '%s' is not callable", cbname->val);
|
||||
php_error_docref(NULL, E_WARNING, "function '%s' is not callable", ZSTR_VAL(cbname));
|
||||
zend_string_release(cbname);
|
||||
RETURN_FALSE;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue