diff --git a/src/Psalm/Internal/Codebase/Functions.php b/src/Psalm/Internal/Codebase/Functions.php index 8b9ad1f9081..68a45e441c0 100644 --- a/src/Psalm/Internal/Codebase/Functions.php +++ b/src/Psalm/Internal/Codebase/Functions.php @@ -493,6 +493,9 @@ public function isCallMapFunctionPure( // opcache 'opcache_compile_file', 'opcache_get_configuration', 'opcache_get_status', 'opcache_invalidate', 'opcache_is_script_cached', 'opcache_reset', + + //gettext + 'bindtextdomain', ]; if (\in_array(strtolower($function_id), $impure_functions, true)) {