[php-src] Issue #13067: date_sun_info restore ability to supply custom zenith value
| From: | Alvamiga | Date: | Tue, 02 Jan 2024 17:49:25 +0000 |
| Subject: | [php-src] Issue #13067: date_sun_info restore ability to supply custom zenith value | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-246168@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/13067
Author: Alvamiga
### Description
The old functions (date_sunrise and date_sunset, now marked as deprecated) had the option to use a
custom zenith. The ability has been lost in the replacement date_sun_info function, only supporting
a few, standard, fixed values.
While the supplied standards are useful, it stills has purpose to be able to set a custom value for
the zenith, as before.
Could this be added as an optional parameter and return an additional pair of keys in the returned
array?