mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +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
|
@ -248,7 +248,7 @@ static zend_object *TimeZone_clone_obj(zval *object)
|
|||
intl_errors_set_custom_msg(TIMEZONE_ERROR_P(to_orig),
|
||||
"Could not clone IntlTimeZone", 0);
|
||||
err_msg = intl_error_get_message(TIMEZONE_ERROR_P(to_orig));
|
||||
zend_throw_exception(NULL, err_msg->val, 0);
|
||||
zend_throw_exception(NULL, ZSTR_VAL(err_msg), 0);
|
||||
zend_string_free(err_msg);
|
||||
} else {
|
||||
to_new->utimezone = newTimeZone;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue