Lines Matching refs:time
2 …e() function : usage variation - Passing high positive and negative float values to time argument.
5 /* Prototype : mixed date_sunrise(mixed time [, int format [, float latitude [, float longitude [,…
6 * Description: Returns time of sunrise for a given day and location
21 echo "\n-- Testing date_sunrise() function by passing float 12.3456789000e10 value to time --\n";
22 $time = 12.3456789000e10;
23 var_dump( date_sunrise($time, SUNFUNCS_RET_STRING, $latitude, $longitude, $zenith, $gmt_offset) );
24 var_dump( date_sunrise($time, SUNFUNCS_RET_DOUBLE, $latitude, $longitude, $zenith, $gmt_offset) );
25 var_dump( date_sunrise($time, SUNFUNCS_RET_TIMESTAMP, $latitude, $longitude, $zenith, $gmt_offset) …
27 echo "\n-- Testing date_sunrise() function by passing float -12.3456789000e10 value to time --\n";
28 $time = -12.3456789000e10;
29 var_dump( date_sunrise($time, SUNFUNCS_RET_STRING, $latitude, $longitude, $zenith, $gmt_offset) );
30 var_dump( date_sunrise($time, SUNFUNCS_RET_DOUBLE, $latitude, $longitude, $zenith, $gmt_offset) );
31 var_dump( date_sunrise($time, SUNFUNCS_RET_TIMESTAMP, $latitude, $longitude, $zenith, $gmt_offset) …
38 -- Testing date_sunrise\(\) function by passing float 12.3456789000e10 value to time --
43 -- Testing date_sunrise\(\) function by passing float -12.3456789000e10 value to time --