English 中文(简体)
标签:的问答
替换职能js至php
原文:replace function js to php

I am trying to change a js program to php. there is a replace function like $t = t.replace(/B/g, "b"); if i change this to php as $t = str_ireplace(/B/g, "b",$t); it shows error about "unexpecting /...

热门标签