summaryrefslogtreecommitdiff
path: root/ext/date/tests/date_parse_from_format_basic.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/date/tests/date_parse_from_format_basic.phpt')
-rw-r--r--ext/date/tests/date_parse_from_format_basic.phpt14
1 files changed, 14 insertions, 0 deletions
diff --git a/ext/date/tests/date_parse_from_format_basic.phpt b/ext/date/tests/date_parse_from_format_basic.phpt
new file mode 100644
index 0000000..644949a
--- /dev/null
+++ b/ext/date/tests/date_parse_from_format_basic.phpt
@@ -0,0 +1,14 @@
+--TEST--
+date_parse_from_format() return false with wrong params
+--CREDITS--
+"Anna Filina" <afilina@phpquebec.org>
+#PHPTestFest2009 2009-05-02
+--INI--
+date.timezone=UTC
+display_errors=false
+--FILE--
+<?php
+var_dump(date_parse_from_format()); // invalid parameters
+?>
+--EXPECT--
+bool(false) \ No newline at end of file