diff options
Diffstat (limited to 'ext/date/tests/DateTime_construct_variation2.phpt')
| -rw-r--r-- | ext/date/tests/DateTime_construct_variation2.phpt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/date/tests/DateTime_construct_variation2.phpt b/ext/date/tests/DateTime_construct_variation2.phpt index c84c3b4f23..12e5c43579 100644 --- a/ext/date/tests/DateTime_construct_variation2.phpt +++ b/ext/date/tests/DateTime_construct_variation2.phpt @@ -90,7 +90,7 @@ $inputs = array( // unset data 'unset var' => @$unset_var, - + // resource 'resource' => $file_handle ); @@ -99,14 +99,14 @@ $time = "2005-07-14 22:30:41"; foreach($inputs as $variation =>$timezone) { echo "\n-- $variation --\n"; - + try { var_dump( new DateTime($time, $timezone) ); } catch (Throwable $e) { $msg = $e->getMessage(); echo "FAILED: " . $msg . "\n"; - } - + } + }; // closing the resource |
