Php 文件获取内容正在转换&;创建html实体

Php 文件获取内容正在转换&;创建html实体,php,file-get-contents,Php,File Get Contents,出于某种原因: $poster = file_get_contents('http://example.com/thing/functions/grabbers/posters.php?q=lol&name='.$name[0]); 将&转换为&我没有做任何htmlentity()等,我也尝试对它进行编码,然后再次解码,但它不会做任何事情。这真的让我烦透了,我回应道: <?= $poster; ?> 对内容或请求的URL进行了编码?根本没有编码,Im根本没有使用任

出于某种原因:

$poster = file_get_contents('http://example.com/thing/functions/grabbers/posters.php?q=lol&name='.$name[0]);
将&转换为
&我没有做任何htmlentity()等,我也尝试对它进行编码,然后再次解码,但它不会做任何事情。这真的让我烦透了,我回应道:

<?= $poster; ?>


对内容或请求的URL进行了编码?根本没有编码,Im根本没有使用任何可以转换内容的功能。
将&;转换为&转换了什么<代码>$poster
'http://crime.pw/torrents/functions/grabbers/posters.php?q=lol&name=“.$name[0]
。后面的&symbol?q=lo您如何知道
&
符号已转换为
&?!!