upgrade test suite to 5.3
[m6w6/ext-http] / tests / date_002.phpt
index 522d0e2beff0c0e3334185b574cb932276ba6b65..aeb120555c9e3c03af9fa7df703c7b401d560ffc 100644 (file)
@@ -4,19 +4,18 @@ http_date() without timestamp
 <?php
 include 'skip.inc';
 ?>
---INI--
-date.timezone=GMT
 --FILE--
 <?php
 echo "-TEST\n";
+ini_set('date.timezone', 'GMT');
 $d = http_date();
 $t = strtotime($d);
 var_dump($t > 1);
 echo "$t\n$d\nDone\n";
 ?>
 --EXPECTF--
-%sTEST
+%aTEST
 bool(true)
 %d
-%s, %d %s %d %d:%d:%d GMT
+%a, %d %a %d %d:%d:%d GMT
 Done