How to clear php’s gettext cache without restart Apache nor change domain?
Every solution (1, 2, 3) suggests changing the domain to get rid of the cache problem, but this will create lots of out-of-date cache in memory. So I dug into the gnu-gettext source for details on the cache strategy (bindtextdom.c:78.) When bindtextdomain(domain, dirname) is called, it will check whether domain exists in the cache; if … Read more