1
0
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:
Derick Rethans
2001-04-29 15:48:07 +00:00
parent b5c2de814e
commit b8ad2e842d
+2
View File
@@ -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);