![]() ![]() | ![]() |
1.1 misho 1: --TEST-- 2: date_create_from_format() return false 3: --CREDITS-- 4: "Anna Filina" <afilina@phpquebec.org> 5: #PHPTestFest2009 2009-05-02 6: --INI-- 7: date.timezone=UTC 8: --FILE-- 9: <?php 10: var_dump(date_create_from_format('Y-m-d', '2009---01')); // invalid date 11: ?> 12: --EXPECT-- 13: bool(false)