Searched refs:date_sunrise (Results 1 – 12 of 12) sorted by relevance
/php-src/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() 30 Deprecated: Function date_sunrise() is deprecated since 8.1, use date_sun_info() instead in %s on l… 38 Deprecated: Function date_sunrise() is deprecated since 8.1, use date_sun_info() instead in %s on l…
|
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 | 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 | 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 since 8.1, use date_sun_info() instead in %s on l… 21 date_sunrise(): Argument #2 ($returnFormat) must be one of SUNFUNCS_RET_TIMESTAMP, SUNFUNCS_RET_STR…
|
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)); 13 Deprecated: Function date_sunrise() is deprecated since 8.1, use date_sun_info() instead in %s on l… 18 Deprecated: Function date_sunrise() is deprecated since 8.1, use date_sun_info() instead in %s on l…
|
H A D | gh14732.phpt | 26 var_dump(date_sunrise(1, SUNFUNCS_RET_STRING, 1, NAN)); 41 Deprecated: Function date_sunrise() is deprecated since 8.1, use date_sun_info() instead in %s on l…
|
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-src/ext/date/ |
H A D | php_date.stub.php | 268 function date_sunrise( function
|
H A D | php_date_arginfo.h | 564 ZEND_FUNCTION(date_sunrise);
|
H A D | php_date.c | 5540 PHP_FUNCTION(date_sunrise) in PHP_FUNCTION() argument
|
Completed in 35 milliseconds