[Solved] Name of PHP function [closed] January 18, 2023 by Kirat You need to use the return of str_replace! $name = str_replace('-', '_', $name); solved Name of PHP function [closed]