|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-04-01 20:01 UTC] tony2001@php.net
[2006-04-09 23:15 UTC] edink@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 08:00:02 2025 UTC |
Description: ------------ After loading php_gettext.dll, the dcngettext() function is not defined. I don't know if it is related but gettext defines a '_' (underscore) function, which seems to accept only one argument, but I don't know what this function does. I don't know if it is specific to Windows as I haven't tried it on another system. Reproduce code: --------------- dl('php_gettext.dll'); $ext=new ReflectionExtension('gettext'); foreach ($ext->getFunctions() as $func) echo $func->getName()."\n"; You can also try '_('foo');' which doesn't seem to do anything. Expected result: ---------------- textdomain gettext dcngettext dgettext dcgettext bindtextdomain ngettext dngettext bind_textdomain_codeset Actual result: -------------- textdomain gettext _ dgettext dcgettext bindtextdomain ngettext dngettext bind_textdomain_codeset