diff options
Diffstat (limited to 'ext/date/tests/localtime_variation5.phpt')
-rw-r--r-- | ext/date/tests/localtime_variation5.phpt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/date/tests/localtime_variation5.phpt b/ext/date/tests/localtime_variation5.phpt index 883e34887b..07802faead 100644 --- a/ext/date/tests/localtime_variation5.phpt +++ b/ext/date/tests/localtime_variation5.phpt @@ -3,10 +3,10 @@ Test localtime() function : usage variation - Passing hexa decimal values to tim --FILE-- <?php /* Prototype : array localtime([int timestamp [, bool associative_array]]) - * Description: Returns the results of the C system call localtime as an associative array - * if the associative_array argument is set to 1 other wise it is a regular array + * Description: Returns the results of the C system call localtime as an associative array + * if the associative_array argument is set to 1 other wise it is a regular array * Source code: ext/date/php_date.c - * Alias to functions: + * Alias to functions: */ echo "*** Testing localtime() : usage variation ***\n"; @@ -21,14 +21,14 @@ $inputs = array( 'Hexa-decimal 0' => 0x0, 'Hexa-decimal 10' => 0xA, 'Hexa-decimal -10' => -0XA -); +); foreach($inputs as $key =>$value) { echo "\n--$key--\n"; var_dump( localtime($value) ); var_dump( localtime($value, $is_associative) ); } - + ?> ===DONE=== --EXPECTF-- |