str_replace array
-
I am using [str_replace(array(“\n”, “\r\n”), array(“<br />”, “<br />”), {column_29[1]})] however since PHP 7.3 curly braces in an array are deprecated. So even though the curly braces here aren’t technically part of the array, PHP is seeing them and erroring out.
Is there a way to write this and escape the curly braces, while keeping the array and the column reference variable in tact?
Thanks.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘str_replace array’ is closed to new replies.