Home
last modified time | relevance | path

Searched refs:date_sunrise (Results 1 – 11 of 11) sorted by relevance

/PHP-8.0/ext/date/tests/
H A Ddate_sunrise_variation8.phpt2 Test date_sunrise() function : usage variation - Checking with North and South poles when Sun is u…
5 echo "*** Testing date_sunrise() : usage variation ***\n";
23 var_dump( date_sunrise($time, SUNFUNCS_RET_STRING, 90, 0 ) );
24 var_dump( date_sunrise($time, SUNFUNCS_RET_DOUBLE, 90, 0 ) );
25 var_dump( date_sunrise($time, SUNFUNCS_RET_TIMESTAMP, 90, 0 ) );
26 var_dump( date_sunrise($time, SUNFUNCS_RET_STRING, -90, 0 ) );
27 var_dump( date_sunrise($time, SUNFUNCS_RET_DOUBLE, -90, 0 ) );
28 var_dump( date_sunrise($time, SUNFUNCS_RET_TIMESTAMP, -90, 0 ) );
33 *** Testing date_sunrise() : 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";
17 echo date("D M d Y") . ', sunrise time : ' . date_sunrise(time(), SUNFUNCS_RET_STRING, 38.4, -9, 90…
21 var_dump(gettype(date_sunrise(time())));
26 Basic test for date_sunrise() and date_sunset()
H A Ddate_sunrise_variation7.phpt2 Test date_sunrise() function : usage variation - Checking sunrise for consecutive days in specific…
5 echo "*** Testing date_sunrise() : usage variation ***\n";
7 //Timezones with required data for date_sunrise
24 …var_dump( date_sunrise($time, SUNFUNCS_RET_STRING, $value["Latitude"], $value["Longitude"], 90, $v…
26 …var_dump( date_sunrise($time, SUNFUNCS_RET_STRING, $value["Latitude"], $value["Longitude"], 90, $v…
31 *** Testing date_sunrise() : usage variation ***
H A Dsunfuncts.phpt2 date_sunrise() and date_sunset() functions
9 echo date_sunrise(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_TIMESTAMP,31.76670,35.23330,90.83,2)." ";
10 echo date_sunrise(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_STRING,31.76670,35.23330,90.83,2)." ";
11 echo date_sunrise(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()
7 date_sunrise(time(), 3);
20 date_sunrise(): Argument #2 ($returnFormat) must be one of SUNFUNCS_RET_TIMESTAMP, SUNFUNCS_RET_STR…
H A Dgetdate_variation6.phpt9 //Timezones with required data for date_sunrise
H A Ddate_sunset_variation7.phpt7 //Timezones with required data for date_sunrise
H A Dgetdate_variation5.phpt7 //Timezones with required data for date_sunrise
/PHP-8.0/ext/date/
H A Dphp_date.stub.php105 function date_sunrise( function
H A Dphp_date_arginfo.h474 ZEND_FUNCTION(date_sunrise);
557 ZEND_FE(date_sunrise, arginfo_date_sunrise)
H A Dphp_date.c4617 PHP_FUNCTION(date_sunrise) in PHP_FUNCTION() argument

Completed in 30 milliseconds