On Mon, 12 Dec 2011, Oleg Oshmyan wrote: > > This might work on some distrbutions, but not nearly on all. And > > definitely not on Windows. On Debian it's not a symlink for example. > > It is still usable as one of the possibilities for the guessing algorithm > to examine. > > Initially I also wanted to say that /usr/share/zoneinfo can be searched > if /etc/localinfo is not a symbolic link, but I have just run a test:
<snip> We will not be adding code that has to scan the filesystem. > > It's a guess, and that's the problem. Guessing makes up for odd and > > strange bugs if it's not 100% accurate (which it isn't). > > Which is why a pseudo-timezone called System is needed so that guesses do > not have to be made. The extension would then convert /etc/localtime to > its internal time zone description format or just use system-provided > APIs as it used to do before PHP 5.1 if I understand correctly. > > > That's a really bad idea, as we've discussed before on this list. <snip> > Perhaps I am a bad searcher; I would appreciate if you pointed me at > some of the past discussion. http://marc.info/?t=119988823700001&r=1&w=2 is what it was I think. cheers, Derick -- http://derickrethans.nl | http://xdebug.org Like Xdebug? Consider a donation: http://xdebug.org/donate.php twitter: @derickr and @xdebug -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php