Home
last modified time | relevance | path

Searched refs:SUNFUNCS_RET_DOUBLE (Results 1 – 7 of 7) sorted by path

/php-src/ext/date/
H A Dphp_date.c216 #define SUNFUNCS_RET_DOUBLE 2 macro
5487 retformat != SUNFUNCS_RET_DOUBLE) in php_do_date_sunrise_sunset()
5529 case SUNFUNCS_RET_DOUBLE: in php_do_date_sunrise_sunset()
H A Dphp_date.stub.php99 const SUNFUNCS_RET_DOUBLE = UNKNOWN; define
H A Dphp_date_arginfo.h849 REGISTER_LONG_CONSTANT("SUNFUNCS_RET_DOUBLE", SUNFUNCS_RET_DOUBLE, CONST_PERSISTENT); in register_php_date_symbols()
/php-src/ext/date/tests/
H A Ddate_sunrise_and_sunset_error.phpt21 … ($returnFormat) must be one of SUNFUNCS_RET_TIMESTAMP, SUNFUNCS_RET_STRING, or SUNFUNCS_RET_DOUBLE
24 … ($returnFormat) must be one of SUNFUNCS_RET_TIMESTAMP, SUNFUNCS_RET_STRING, or SUNFUNCS_RET_DOUBLE
H A Ddate_sunrise_variation8.phpt26 var_dump( date_sunrise($time, SUNFUNCS_RET_DOUBLE, 90, 0 ) );
29 var_dump( date_sunrise($time, SUNFUNCS_RET_DOUBLE, -90, 0 ) );
H A Ddate_sunset_variation8.phpt26 var_dump( date_sunset($time, SUNFUNCS_RET_DOUBLE, 90, 0 ) );
29 var_dump( date_sunset($time, SUNFUNCS_RET_DOUBLE, -90, 0 ) );
H A Dsunfuncts.phpt12 echo date_sunrise(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_DOUBLE,31.76670,35.23330,90.83,2)."\n";
16 echo date_sunset(mktime(1,1,1,$a,1,2003),SUNFUNCS_RET_DOUBLE,31.76670,35.23330,90.83,2)."\n";

Completed in 34 milliseconds