date_sunrise and date_sunset
Now I’m starting to get irritated. I was reviewing the syntax of PHP date functions and discovered date_sunrise and date_sunset, which do just what you expect: return the time of sunrise and sunset for a given date and location. Expect that you probably didn’t expect them to be in the language core.
As time goes on, I’m becoming more curmudgeonly about decisions like this.
27 Oct 2006 Sam
me too. I sometimes appreciate all of PHP’s string and array functions, but some do not belong in language core. where to draw the line?