Searched refs:date_sunset (Results 1 – 11 of 11) sorted by relevance
/PHP-8.2/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… 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 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() 31 Deprecated: Function date_sunset() is deprecated in %s on line %d 37 Deprecated: Function date_sunset() is deprecated in %s on line %d
|
H A D | gh16454.phpt | 2 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)); 17 Deprecated: Function date_sunset() is deprecated in %s on line %d 20 Deprecated: Function date_sunset() is deprecated in %s on line %d
|
H A D | date_sunrise_and_sunset_error.phpt | 2 Test error condition of date_sunrise() and date_sunset() 13 date_sunset(time(), 4); 23 Deprecated: Function date_sunset() is deprecated in %s on line %d 24 date_sunset(): Argument #2 ($returnFormat) must be one of SUNFUNCS_RET_TIMESTAMP, SUNFUNCS_RET_STRI…
|
H A D | sunfuncts.phpt | 2 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 D | date_sunset_variation7.phpt | 2 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 D | gh14732.phpt | 25 var_dump(date_sunset(1, SUNFUNCS_RET_STRING, NAN, 1)); 34 Deprecated: Function date_sunset() is deprecated in %s on line %d
|
/PHP-8.2/ext/date/ |
H A D | php_date.stub.php | 274 function date_sunset( function
|
H A D | php_date_arginfo.h | 543 ZEND_FUNCTION(date_sunset); 636 ZEND_DEP_FE(date_sunset, arginfo_date_sunset)
|
H A D | php_date.c | 5171 PHP_FUNCTION(date_sunset) in PHP_FUNCTION() argument
|
/PHP-8.2/ |
H A D | NEWS | 62 . Fixed bug GH-16454 (Unhandled INF in date_sunset() with tiny $utcOffset).
|
Completed in 71 milliseconds