Le 05/11/2010 21:06, Gerry Reno a écrit : > In PHP 5.2.4 (my version) the gettext bindtextdomain function is not > returning the existing directory settings when the directory argument > is NULL. > That is the expected behavior for bindtextdomain with GNU and it works > this way elsewhere such as in python. > > [...] > > Can PHP gettext bindtextdomain be fixed to correctly return the > existing setting when called with a NULL directory argument? > > I was not sure if this was a bug so I thought I would present the > issue on the internal list first.
I filled a bug-report with a patch. But my patch introduce a BC (see my non regression test : ext/gettext/tests/gettext_bindtextdomain-nulldir.phpt) http://bugs.php.net/bug.php?id=53251 -- Jean-Sébastien H. Au-Fil-Du.Net -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php