mirror of
https://github.com/php/php-src.git
synced 2024-11-25 19:05:31 +08:00
Fixed bug #19414
This commit is contained in:
parent
6f0db0889f
commit
9259c4e598
@ -194,10 +194,12 @@ void php_mktime(INTERNAL_FUNCTION_PARAMETERS, int gm)
|
||||
}
|
||||
|
||||
t = mktime(ta);
|
||||
if (t == -1) {
|
||||
RETURN_LONG(-1);
|
||||
}
|
||||
|
||||
seconds = t - chgsecs;
|
||||
|
||||
|
||||
|
||||
if (is_dst == -1) {
|
||||
struct tm t1, t2;
|
||||
t1 = *localtime(&t);
|
||||
|
Loading…
Reference in New Issue
Block a user