PHP eval的用法和反斜杠的用法
<?php$string="beautiful";$time="winter";$str='Thisisa$string$timemorning!';echo$str."...
<?php
$string = "beautiful";
$time = "winter";
$str = 'This is a $string $time morning!';
echo $str. "<br />";
eval("\$str = \"$str\";");
echo $str;
?>
eval("\$str = \"$str\";"); 请详细解释这句.
包括里面3个反斜杠代表的意思. 和eval的意思` 展开
$string = "beautiful";
$time = "winter";
$str = 'This is a $string $time morning!';
echo $str. "<br />";
eval("\$str = \"$str\";");
echo $str;
?>
eval("\$str = \"$str\";"); 请详细解释这句.
包括里面3个反斜杠代表的意思. 和eval的意思` 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询