diff options
Diffstat (limited to 'ext/date/tests/localtime_variation5.phpt')
-rw-r--r-- | ext/date/tests/localtime_variation5.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/date/tests/localtime_variation5.phpt b/ext/date/tests/localtime_variation5.phpt index cd48a162af..7b09da4763 100644 --- a/ext/date/tests/localtime_variation5.phpt +++ b/ext/date/tests/localtime_variation5.phpt @@ -6,7 +6,7 @@ Test localtime() function : usage variation - Passing hexa decimal values to tim * 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=== --EXPECT-- |