mirror of
https://github.com/php/php-src.git
synced 2026-04-24 16:38:25 +02:00
- 'Fix' for bug #10145
This commit is contained in:
@@ -786,6 +786,8 @@ PHP_FUNCTION(strtotime)
|
||||
}
|
||||
|
||||
convert_to_string_ex(z_time);
|
||||
if (Z_STRLEN_PP(z_time) == 0)
|
||||
php_error (E_NOTICE, "strtotime() called with empty time parameter");
|
||||
if (argc == 2) {
|
||||
convert_to_long_ex(z_now);
|
||||
now = Z_LVAL_PP(z_now);
|
||||
|
||||
Reference in New Issue
Block a user