Some more tests that needed fixed.

This commit is contained in:
Scott MacVicar 2009-01-10 00:51:04 +00:00
parent a9e5e22275
commit b4707a5e02
2 changed files with 2 additions and 4 deletions

View file

@ -2,10 +2,9 @@
date_sunrise() and date_sunset() functions
--INI--
precision=13
date.timezone=Asia/Jerusalem
--FILE--
<?php
date_default_timezone_set('Asia/Jerusalem');
for($a=1;$a<=12;$a++){
echo date_sunrise(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_TIMESTAMP,31.76670,35.23330,90.83,2)." ";
echo date_sunrise(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_STRING,31.76670,35.23330,90.83,2)." ";

View file

@ -1,9 +1,8 @@
--TEST--
idate() function
--INI--
date.timezone=GMT0
--FILE--
<?php
date_default_timezone_set('GMT0');
$tmp = "UYzymndjHGhgistwLBIW";
for($a = 0;$a < strlen($tmp); $a++){
echo $tmp[$a], ': ', idate($tmp[$a], 1043324459)."\n";