PHP中单双号与变量
例子
<?php
$string = "beautiful";
$time = "winter";
$str = 'This is a $string $time morning!';
echo $str. "<br />";
eval("\$str = \"$str\";");
echo $str;
?>
文章评论
评分:
★
★
★
★
★


暂无评论