【php开源代码栏目提醒】:网学会员php开源代码为您提供code5.20.php参考,解决您在code5.20.php学习中工作中的难题,参考学习。
<?php
$str = "first=你好&arr[]=Yound&arr[]=Tang";
parse_str($str);
echo $first."<br/>";
echo $arr[0]." ";
echo $arr[1]."<br/>";
parse_str($str, $output);
echo $output['first']."<br/>";
echo $output['arr'][0]." ";
echo $output['arr'][1]."<br/>";
?>