strtr function in php doesn't replace everything?

前端 未结 0 1621
孤独总比滥情好
孤独总比滥情好 2021-01-19 17:18

I want to replace all spaces " " with "%20", but when I try to do it space gets replaced by only "%".

$test = "How are you&         


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