- don't try to allocate negative size
[m6w6/ext-http] / tests / date_002.phpt
index 522d0e2beff0c0e3334185b574cb932276ba6b65..1623595f87d69c0cd42128ae0697840e7447d8fd 100644 (file)
@@ -4,11 +4,10 @@ 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);