diff options
Diffstat (limited to 'ext/date/tests/idate_variation5.phpt')
-rw-r--r-- | ext/date/tests/idate_variation5.phpt | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/ext/date/tests/idate_variation5.phpt b/ext/date/tests/idate_variation5.phpt index 6064a9e989..9ea8819571 100644 --- a/ext/date/tests/idate_variation5.phpt +++ b/ext/date/tests/idate_variation5.phpt @@ -2,12 +2,6 @@ Test idate() function : usage variation - Passing supported Time format characters to format argument. --FILE-- <?php -/* Prototype : int idate(string format [, int timestamp]) - * Description: Format a local time/date as integer - * Source code: ext/date/php_date.c - * Alias to functions: - */ - echo "*** Testing idate() : usage variation ***\n"; // Initialise function arguments not being substituted (if any) @@ -17,13 +11,13 @@ date_default_timezone_set("Asia/Calcutta"); $inputs = array( 'Internet Time' => 'B', - '12 hour format' => 'h', - '24 hour format' => 'H', - 'Minutes' => 'i', - 'DST Activated' => 'I', - 'Seconds' => 's', - 'Seconds since Unix Epoch' => 'U', - 'Time zone offset' => 'Z' + '12 hour format' => 'h', + '24 hour format' => 'H', + 'Minutes' => 'i', + 'DST Activated' => 'I', + 'Seconds' => 's', + 'Seconds since Unix Epoch' => 'U', + 'Time zone offset' => 'Z' ); // loop through each element of the array for timestamp @@ -32,7 +26,6 @@ foreach($inputs as $key =>$value) { var_dump( idate($value) ); }; ?> -===DONE=== --EXPECTF-- *** Testing idate() : usage variation *** @@ -59,4 +52,3 @@ int(%d) --Time zone offset-- int(%d) -===DONE=== |