This is an explanation of the video content.
 用技术延续对ACG的热爱
100

 |   | 

PHP的echo和print

PHP如何输出信息到屏幕上

可以使用echoprint将数据输出到信息上

echo "<h2>PHP is Fun!</h2>";
print "PHP is Fun!";

更多种输出实例

$x = "real";
echo "<h2>PHP is Fun!</h2>".$x;
print  "<h2>PHP is Fun!</h2>".$x;

$y = 10;
$z = 3;
echo $y+$z; //13
print ($y+$z)*2; //26

echo和print用于输出信息到屏幕上

100 ⚙️服务端 ↦ PHP从0到1手把手教程 __ 40 字
 PHP从0到1手把手教程 #6