summaryrefslogtreecommitdiff
path: root/ext/date/tests/strtotime_basic2.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/date/tests/strtotime_basic2.phpt')
-rw-r--r--ext/date/tests/strtotime_basic2.phpt13
1 files changed, 13 insertions, 0 deletions
diff --git a/ext/date/tests/strtotime_basic2.phpt b/ext/date/tests/strtotime_basic2.phpt
new file mode 100644
index 0000000..f90e66d
--- /dev/null
+++ b/ext/date/tests/strtotime_basic2.phpt
@@ -0,0 +1,13 @@
+--TEST--
+strtotime() with return false
+--CREDITS--
+"Anna Filina" <afilina@phpquebec.org>
+#PHPTestFest2009 2009-05-02
+--INI--
+date.timezone=UTC
+--FILE--
+<?php
+var_dump(strtotime('mayy 2 2009')); // misspelled month name
+?>
+--EXPECT--
+bool(false) \ No newline at end of file