Home
last modified time | relevance | path

Searched refs:date_sunset (Results 1 – 7 of 7) sorted by relevance

/PHP-7.4/ext/date/tests/
H A Ddate_sunset_variation9.phpt13 echo "*** Testing date_sunset() : usage variation ***\n";
23 echo "\n-- Testing date_sunset() function by passing float 12.3456789000e10 value to time --\n";
38 *** Testing date_sunset() : usage variation ***
40 -- Testing date_sunset() function by passing float 12.3456789000e10 value to time --
42 Warning: date_sunset() expects parameter 1 to be int, float given in %s on line %d
45 Warning: date_sunset() expects parameter 1 to be int, float given in %s on line %d
48 Warning: date_sunset() expects parameter 1 to be int, float given in %s on line %d
51 -- Testing date_sunset() function by passing float -12.3456789000e10 value to time --
53 Warning: date_sunset() expects parameter 1 to be int, float given in %s on line %d
56 Warning: date_sunset() expects parameter 1 to be int, float given in %s on line %d
[all …]
H A Ddate_sunset_variation8.phpt2 Test date_sunset() function : usage variation - Checking with North and South poles when Sun is up…
5 /* Prototype : mixed date_sunset(mixed time [, int format [, float latitude [, float longitude [, …
11 echo "*** Testing date_sunset() : usage variation ***\n";
29 var_dump( date_sunset($time, SUNFUNCS_RET_STRING, 90, 0 ) );
30 var_dump( date_sunset($time, SUNFUNCS_RET_DOUBLE, 90, 0 ) );
31 var_dump( date_sunset($time, SUNFUNCS_RET_TIMESTAMP, 90, 0 ) );
32 var_dump( date_sunset($time, SUNFUNCS_RET_STRING, -90, 0 ) );
33 var_dump( date_sunset($time, SUNFUNCS_RET_DOUBLE, -90, 0 ) );
34 var_dump( date_sunset($time, SUNFUNCS_RET_TIMESTAMP, -90, 0 ) );
40 *** Testing date_sunset() : usage variation ***
H A Dsunfuncts.phpt2 date_sunrise() and date_sunset() functions
13 echo date_sunset(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_TIMESTAMP,31.76670,35.23330,90.83,2)." ";
14 echo date_sunset(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_STRING,31.76670,35.23330,90.83,2)." ";
15 echo date_sunset(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_DOUBLE,31.76670,35.23330,90.83,2)."\n";
H A Ddate_sunrise_and_sunset_basic.phpt2 Basic test for date_sunrise and date_sunset based on example in PHP manual
15 echo "Basic test for date_sunrise() and date_sunset()\n";
18 echo date("D M d Y") . ', sunset time : ' . date_sunset(time(), SUNFUNCS_RET_STRING, 38.4, -9, 90, …
23 Basic test for date_sunrise() and date_sunset()
H A Ddate_sunset_variation7.phpt2 Test date_sunset() function : usage variation - Checking sunrise for consecutive days in specific …
5 /* Prototype : mixed date_sunset(mixed time [, int format [, float latitude [, float longitude [, …
11 echo "*** Testing date_sunset() : usage variation ***\n";
31 …var_dump( date_sunset($time, SUNFUNCS_RET_STRING, $value["Latitude"], $value["Longitude"], 90, $va…
33 …var_dump( date_sunset($time, SUNFUNCS_RET_STRING, $value["Latitude"], $value["Longitude"], 90, $va…
38 *** Testing date_sunset() : usage variation ***
/PHP-7.4/ext/date/
H A Dphp_date.h118 PHP_FUNCTION(date_sunset);
H A Dphp_date.c476 PHP_FE(date_sunset, arginfo_date_sunset)
5109 PHP_FUNCTION(date_sunset) in PHP_FUNCTION() argument

Completed in 43 milliseconds