]> granicus.if.org Git - php/commitdiff
- Added test for bug #28599
authorDerick Rethans <derick@php.net>
Tue, 23 Nov 2004 09:40:07 +0000 (09:40 +0000)
committerDerick Rethans <derick@php.net>
Tue, 23 Nov 2004 09:40:07 +0000 (09:40 +0000)
ext/standard/tests/time/bug28599.phpt [new file with mode: 0644]

diff --git a/ext/standard/tests/time/bug28599.phpt b/ext/standard/tests/time/bug28599.phpt
new file mode 100644 (file)
index 0000000..79ac9c8
--- /dev/null
@@ -0,0 +1,8 @@
+--TEST--
+Bug #28599 (strtotime fails with zero base time)
+--FILE--
+<?php
+print gmdate("d-m-Y H:i:s", strtotime("+30 minutes", 1100535573));
+?>
+--EXPECT--
+15-11-2004 16:49:33