
1 xuwenhao 2011-05-24 23:19:12 +08:00 /\[|\]/ 不可以么? |
2 2014 OP |
3 reus 2011-05-24 23:50:43 +08:00 json_decode() = = |
4 2014 OP |
5 webgeekman 2011-08-25 16:06:30 +08:00 如果需要被替换的内容类似:[asdf[sdf][]sdfsdf[sdfasdfasfd] 那么xuwenhao 的方法 “/\[|\]/”完全可以啊。 楼主最好将需要替换的内容截取出一段,否则大家没法帮你。 |
6 Weakdancer 2011-08-25 17:22:22 +08:00 $str = json_decode($str,true); |