|
cvs: pecl /http/tests date_002.phpt: msg#00258php.pecl.cvs
mike Fri Jul 29 16:32:39 2005 EDT Modified files: /pecl/http/tests date_002.phpt Log: - we're not using new ext/date but php_gmtime_r() # Marcus, did that INI setting really change anything for you? http://cvs.php.net/diff.php/pecl/http/tests/date_002.phpt?r1=1.5&r2=1.6&ty=u Index: pecl/http/tests/date_002.phpt diff -u pecl/http/tests/date_002.phpt:1.5 pecl/http/tests/date_002.phpt:1.6 --- pecl/http/tests/date_002.phpt:1.5 Fri Jul 29 14:12:12 2005 +++ pecl/http/tests/date_002.phpt Fri Jul 29 16:32:37 2005 @@ -4,21 +4,17 @@ <?php include 'skip.inc'; ?> ---INI-- -date.timezone=GMT --FILE-- <?php echo "-TEST\n"; -$t = time(); -$d1 = http_date($t); -$d2 = http_date($t); -var_dump($d1 === $d2); -echo strtotime($d1), "\n$d1\n$d2\n"; +$d = http_date(); +$t = strtotime($d); +var_dump($t > 1); +echo "$t\n$d\nDone\n"; ?> --EXPECTF-- %sTEST bool(true) %d %s, %d %s %d %d:%d:%d GMT -%s, %d %s %d %d:%d:%d GMT - +Done |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | cvs: pecl /http http_request_object.c php_http_std_defs.h /http/tests date_002.phpt get_request_data_001.phpt: 00258, Marcus Boerger |
|---|---|
| Next by Date: | cvs: pecl /http http_request_object.c: 00258, Michael Wallner |
| Previous by Thread: | cvs: pecl /http http_request_object.c php_http_std_defs.h /http/tests date_002.phpt get_request_data_001.phpti: 00258, Marcus Boerger |
| Next by Thread: | cvs: pecl /http/tests date_002.phpt: 00258, Michael Wallner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |