Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有时在 PHP 代码中我遇到_()像这样 包裹的短语_('some phrase') 是什么_()意思?
_()
_('some phrase')
谢谢
gettext()这是PHP中函数的简写。
gettext()
_('some phrase')->gettext('some phrase')
gettext('some phrase')
PHP Gettext 文档