码迷,mamicode.com
首页 > Web开发 > 详细

php字符串

时间:2018-10-20 23:44:43      阅读:229      评论:0      收藏:0      [点我收藏+]

标签:foo   into   var   value   bsp   ble   字符   ring   variable   

 

 

parse_str ($str, array &$arr = null)  //Parses the string into variables
  eg:$str = "first=value&arr[]=foo+bar&arr[]=baz";
      parse_str($str, $output);
      echo $output[‘first‘];  // value
      echo $output[‘arr‘][0]; // foo bar
      echo $output[‘arr‘][1]; // baz

php字符串

标签:foo   into   var   value   bsp   ble   字符   ring   variable   

原文地址:https://www.cnblogs.com/liqinggai/p/9823278.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!