diff --git a/ext/date/php_date.c b/ext/date/php_date.c index d8cec0224a3..230f1a5b0cf 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -2410,7 +2410,7 @@ static int date_initialize(php_date_obj *dateobj, /*const*/ char *time_str, int } timelib_unixtime2local(now, (timelib_sll) time(NULL)); - timelib_fill_holes(dateobj->time, now, TIMELIB_NO_CLONE); + timelib_fill_holes(dateobj->time, now, 0); timelib_update_ts(dateobj->time, tzi); dateobj->time->have_relative = 0;