Searched refs:date_sunset (Results 1 – 8 of 8) sorted by relevance
/PHP-8.0/ext/date/tests/ |
H A D | date_sunset_variation8.phpt | 2 Test date_sunset() function : usage variation - Checking with North and South poles when Sun is up… 5 echo "*** Testing date_sunset() : usage variation ***\n"; 23 var_dump( date_sunset($time, SUNFUNCS_RET_STRING, 90, 0 ) ); 24 var_dump( date_sunset($time, SUNFUNCS_RET_DOUBLE, 90, 0 ) ); 25 var_dump( date_sunset($time, SUNFUNCS_RET_TIMESTAMP, 90, 0 ) ); 26 var_dump( date_sunset($time, SUNFUNCS_RET_STRING, -90, 0 ) ); 27 var_dump( date_sunset($time, SUNFUNCS_RET_DOUBLE, -90, 0 ) ); 28 var_dump( date_sunset($time, SUNFUNCS_RET_TIMESTAMP, -90, 0 ) ); 33 *** Testing date_sunset() : usage variation ***
|
H A D | date_sunrise_and_sunset_basic.phpt | 2 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()
|
H A D | sunfuncts.phpt | 2 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 D | date_sunrise_and_sunset_error.phpt | 2 Test error condition of date_sunrise() and date_sunset() 13 date_sunset(time(), 4); 21 date_sunset(): Argument #2 ($returnFormat) must be one of SUNFUNCS_RET_TIMESTAMP, SUNFUNCS_RET_STRI…
|
H A D | date_sunset_variation7.phpt | 2 Test date_sunset() function : usage variation - Checking sunrise for consecutive days in specific … 5 echo "*** Testing date_sunset() : usage variation ***\n"; 25 …var_dump( date_sunset($time, SUNFUNCS_RET_STRING, $value["Latitude"], $value["Longitude"], 90, $va… 27 …var_dump( date_sunset($time, SUNFUNCS_RET_STRING, $value["Latitude"], $value["Longitude"], 90, $va… 31 *** Testing date_sunset() : usage variation ***
|
/PHP-8.0/ext/date/ |
H A D | php_date.stub.php | 110 function date_sunset( function
|
H A D | php_date_arginfo.h | 475 ZEND_FUNCTION(date_sunset); 558 ZEND_FE(date_sunset, arginfo_date_sunset)
|
H A D | php_date.c | 4624 PHP_FUNCTION(date_sunset) in PHP_FUNCTION() argument
|
Completed in 25 milliseconds