PHP 8.1 has deprecated passing null as parameters to a lot of core functions such as str_replace. in JwplatformClient.php _ResourceClient _path_format there are three calls to str_replace with ...
I have such character in the file. I need to remove the character. The str_replace function doesn't works "^M". How to remove "^M" using php?