程嶏清单8-2.txt

来自「< linux网络编程工具>>配套源码」· 文本 代码 · 共 9 行

TXT
9
字号
$passer = "news" ;
$passerby = "report";    
$y1 = "This is a piece of $passerby";  #  $y1的值现在为 "This is a piece of report"
$y2 = "This is a piece of ${passer}by";  #  $y2的值现在为 "This is a piece of newsby"
$y3 = "This is a piece of $passer" . "by";  #  $y3的值现在为 "This is a piece of newsby"
print $y1,"\n";
print $y2,"\n";
print $y3,"\n";

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?