Home
last modified time | relevance | path

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

/php-src/ext/date/tests/
H A Ddate_sunset_variation8.phpt2 Test date_sunset() function : usage variation - Checking with North and South poles when Sun is up…
7 echo "*** Testing date_sunset() : usage variation ***\n";
25 var_dump( date_sunset($time, SUNFUNCS_RET_STRING, 90, 0 ) );
26 var_dump( date_sunset($time, SUNFUNCS_RET_DOUBLE, 90, 0 ) );
27 var_dump( date_sunset($time, SUNFUNCS_RET_TIMESTAMP, 90, 0 ) );
28 var_dump( date_sunset($time, SUNFUNCS_RET_STRING, -90, 0 ) );
29 var_dump( date_sunset($time, SUNFUNCS_RET_DOUBLE, -90, 0 ) );
30 var_dump( date_sunset($time, SUNFUNCS_RET_TIMESTAMP, -90, 0 ) );
35 *** Testing date_sunset() : usage variation ***
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, …
22 var_dump(gettype(date_sunset(time())));
26 Basic test for date_sunrise() and date_sunset()
35 Deprecated: Function date_sunset() is deprecated since 8.1, use date_sun_info() instead in %s on li…
41 Deprecated: Function date_sunset() is deprecated since 8.1, use date_sun_info() instead in %s on li…
H A Dsunfuncts.phpt2 date_sunrise() and date_sunset() functions
14 echo date_sunset(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_TIMESTAMP,31.76670,35.23330,90.83,2)." ";
15 echo date_sunset(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_STRING,31.76670,35.23330,90.83,2)." ";
16 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_error.phpt2 Test error condition of date_sunrise() and date_sunset()
13 date_sunset(time(), 4);
23 Deprecated: Function date_sunset() is deprecated since 8.1, use date_sun_info() instead in %s on li…
24 date_sunset(): Argument #2 ($returnFormat) must be one of SUNFUNCS_RET_TIMESTAMP, SUNFUNCS_RET_STRI…
H A Dgh16454.phpt2 GH-16454 (Unhandled INF in date_sunset() with tiny $utcOffset)
7 var_dump(date_sunset(0, SUNFUNCS_RET_STRING, 61, -150, 90, PHP_FLOAT_MAX));
8 var_dump(date_sunset(0, SUNFUNCS_RET_STRING, 61, -150, 90, -PHP_FLOAT_MAX));
23 Deprecated: Function date_sunset() is deprecated since 8.1, use date_sun_info() instead in %s on li…
28 Deprecated: Function date_sunset() is deprecated since 8.1, use date_sun_info() instead in %s on li…
H A Ddate_sunset_variation7.phpt2 Test date_sunset() function : usage variation - Checking sunrise for consecutive days in specific …
7 echo "*** Testing date_sunset() : usage variation ***\n";
27 …var_dump( date_sunset($time, SUNFUNCS_RET_STRING, $value["Latitude"], $value["Longitude"], 90, $va…
29 …var_dump( date_sunset($time, SUNFUNCS_RET_STRING, $value["Latitude"], $value["Longitude"], 90, $va…
33 *** Testing date_sunset() : usage variation ***
H A Dgh14732.phpt25 var_dump(date_sunset(1, SUNFUNCS_RET_STRING, NAN, 1));
36 Deprecated: Function date_sunset() is deprecated since 8.1, use date_sun_info() instead in %s on li…
/php-src/ext/date/
H A Dphp_date.stub.php277 function date_sunset( function
H A Dphp_date_arginfo.h565 ZEND_FUNCTION(date_sunset);
H A Dphp_date.c5547 PHP_FUNCTION(date_sunset) in PHP_FUNCTION() argument

Completed in 31 milliseconds