Skip to content

Commit 1253a68

Browse files
mbniebergallpetk
authored andcommitted
Add test for date_time_immutable invalid arguments
1 parent 1227284 commit 1253a68

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
--TEST--
2+
DateTimeImmutable - invalid arguments
3+
--CREDITS--
4+
Mark Niebergall [email protected] UPHPU TestFest 2017
5+
--FILE--
6+
<?php
7+
var_dump(date_create_immutable('Invalid'));
8+
?>
9+
--EXPECTF--
10+
bool(false)

0 commit comments

Comments
 (0)