(PHP 4, PHP 5, PHP 7)
rawurldecode — 锟斤拷锟窖憋拷锟斤拷锟� URL 锟街凤拷锟斤拷锟斤拷锟叫斤拷锟斤拷
$str
) : string锟斤拷锟斤拷锟街凤拷锟斤拷锟斤拷锟斤拷锟街凤拷锟斤拷锟叫百分号o拷%锟斤拷锟斤拷锟斤拷锟轿皇拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷卸锟斤拷锟斤拷锟斤拷婊伙拷锟皆拷锟斤拷址锟斤拷锟�
str
要锟斤拷锟斤拷锟� URL锟斤拷
锟斤拷锟截斤拷锟斤拷锟斤拷 URL 锟街凤拷锟斤拷锟斤拷
Example #1 rawurldecode() 示锟斤拷
<?php
echo rawurldecode('foo%20bar%40baz'); // foo bar@baz
?>
Note:
rawurldecode() 锟斤拷锟斤拷鸭雍牛锟�'+'锟斤拷锟斤拷锟斤拷为锟秸格,讹拷 urldecode() 锟斤拷锟皆★拷