mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
Some more tests that needed fixed.
This commit is contained in:
parent
a9e5e22275
commit
b4707a5e02
2 changed files with 2 additions and 4 deletions
|
@ -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)." ";
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue