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