Searched refs:date_sunrise (Results 1 – 12 of 12) sorted by relevance
/PHP-8.2/ext/date/tests/ |
H A D | date_sunrise_variation8.phpt | 2 Test date_sunrise() function : usage variation - Checking with North and South poles when Sun is u… 7 echo "*** Testing date_sunrise() : usage variation ***\n"; 25 var_dump( date_sunrise($time, SUNFUNCS_RET_STRING, 90, 0 ) ); 26 var_dump( date_sunrise($time, SUNFUNCS_RET_DOUBLE, 90, 0 ) ); 27 var_dump( date_sunrise($time, SUNFUNCS_RET_TIMESTAMP, 90, 0 ) ); 28 var_dump( date_sunrise($time, SUNFUNCS_RET_STRING, -90, 0 ) ); 29 var_dump( date_sunrise($time, SUNFUNCS_RET_DOUBLE, -90, 0 ) ); 30 var_dump( date_sunrise($time, SUNFUNCS_RET_TIMESTAMP, -90, 0 ) ); 35 *** Testing date_sunrise() : 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"; 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() 28 Deprecated: Function date_sunrise() is deprecated in %s on line %d 34 Deprecated: Function date_sunrise() is deprecated in %s on line %d
|
H A D | date_sunrise_variation7.phpt | 2 Test date_sunrise() function : usage variation - Checking sunrise for consecutive days in specific… 7 echo "*** Testing date_sunrise() : usage variation ***\n"; 9 //Timezones with required data for date_sunrise 26 …var_dump( date_sunrise($time, SUNFUNCS_RET_STRING, $value["Latitude"], $value["Longitude"], 90, $v… 28 …var_dump( date_sunrise($time, SUNFUNCS_RET_STRING, $value["Latitude"], $value["Longitude"], 90, $v… 33 *** Testing date_sunrise() : usage variation ***
|
H A D | date_sunrise_and_sunset_error.phpt | 2 Test error condition of date_sunrise() and date_sunset() 7 date_sunrise(time(), 3); 20 Deprecated: Function date_sunrise() is deprecated in %s on line %d 21 date_sunrise(): Argument #2 ($returnFormat) must be one of SUNFUNCS_RET_TIMESTAMP, SUNFUNCS_RET_STR…
|
H A D | sunfuncts.phpt | 2 date_sunrise() and date_sunset() functions 10 echo date_sunrise(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_TIMESTAMP,31.76670,35.23330,90.83,2)." "; 11 echo date_sunrise(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_STRING,31.76670,35.23330,90.83,2)." "; 12 echo date_sunrise(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_DOUBLE,31.76670,35.23330,90.83,2)."\n";
|
H A D | gh16454.phpt | 5 var_dump(date_sunrise(0, SUNFUNCS_RET_STRING, 61, -150, 90, PHP_FLOAT_MAX)); 6 var_dump(date_sunrise(0, SUNFUNCS_RET_STRING, 61, -150, 90, -PHP_FLOAT_MAX)); 11 Deprecated: Function date_sunrise() is deprecated in %s on line %d 14 Deprecated: Function date_sunrise() is deprecated in %s on line %d
|
H A D | gh14732.phpt | 26 var_dump(date_sunrise(1, SUNFUNCS_RET_STRING, 1, NAN)); 37 Deprecated: Function date_sunrise() is deprecated in %s on line %d
|
H A D | date_sunset_variation7.phpt | 9 //Timezones with required data for date_sunrise
|
H A D | getdate_variation5.phpt | 7 //Timezones with required data for date_sunrise
|
/PHP-8.2/ext/date/ |
H A D | php_date.stub.php | 265 function date_sunrise( function
|
H A D | php_date_arginfo.h | 542 ZEND_FUNCTION(date_sunrise); 635 ZEND_DEP_FE(date_sunrise, arginfo_date_sunrise)
|
H A D | php_date.c | 5164 PHP_FUNCTION(date_sunrise) in PHP_FUNCTION() argument
|
Completed in 29 milliseconds