PHP: replace newlines in array without loop

后端 未结 0 436
长发绾君心
长发绾君心 2020-12-05 02:25

I need to replace all newlines in this array

$fields = [ "hello", "new\\nold", "world"];

by a | wi

相关标签:
回答
  • 消灭零回复
提交回复
热议问题