diff options
Diffstat (limited to 'ext/date/tests/DateTimeZone_construct_variation1.phpt')
-rw-r--r-- | ext/date/tests/DateTimeZone_construct_variation1.phpt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/date/tests/DateTimeZone_construct_variation1.phpt b/ext/date/tests/DateTimeZone_construct_variation1.phpt index c2b208f0df..f0b2541afe 100644 --- a/ext/date/tests/DateTimeZone_construct_variation1.phpt +++ b/ext/date/tests/DateTimeZone_construct_variation1.phpt @@ -5,7 +5,7 @@ Test DateTime::__construct() function : usage variation - Passing unexpected val /* Prototype : DateTimeZone::__construct ( string $timezone ) * Description: Returns new DateTimeZone object * Source code: ext/date/php_date.c - * Alias to functions: + * Alias to functions: */ echo "*** Testing DateTime::__construct() : usage variation - unexpected values to first argument \$timezone***\n"; @@ -88,7 +88,7 @@ $inputs = array( // unset data 'unset var' => @$unset_var, - + // resource 'resource' => $file_handle ); @@ -100,8 +100,8 @@ foreach($inputs as $variation =>$timezone) { } catch (Throwable $e) { $msg = $e->getMessage(); echo "FAILED: " . $msg . "\n"; - } - + } + }; // closing the resource |