- we're not using new ext/date but php_gmtime_r()
[m6w6/ext-http] / tests / date_002.phpt
1 --TEST--
2 http_date() without timestamp
3 --SKIPIF--
4 <?php
5 include 'skip.inc';
6 ?>
7 --FILE--
8 <?php
9 echo "-TEST\n";
10 $d = http_date();
11 $t = strtotime($d);
12 var_dump($t > 1);
13 echo "$t\n$d\nDone\n";
14 ?>
15 --EXPECTF--
16 %sTEST
17 bool(true)
18 %d
19 %s, %d %s %d %d:%d:%d GMT
20 Done