mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fixed initialize of zval
This commit is contained in:
parent
5614467c6b
commit
a1426c62d5
2 changed files with 2 additions and 2 deletions
|
@ -141,7 +141,7 @@ U_CFUNC TimeZone *timezone_process_timezone_argument(zval *zv_timezone,
|
|||
ZVAL_STRING(&local_zv_tz, tzinfo->name);
|
||||
zv_timezone = &local_zv_tz;
|
||||
} else {
|
||||
ZVAL_UNDEF(&local_zv_tz);
|
||||
ZVAL_NULL(&local_zv_tz);
|
||||
}
|
||||
|
||||
if (Z_TYPE_P(zv_timezone) == IS_OBJECT &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue