简单教程
提交运行
代码编辑器:
<?php $x = array("a" => "red", "b" => "green"); $y = array("c" => "blue", "d" => "yellow"); $z = $x + $y; // $x 与 $y 的联合 var_dump($z); echo "<br>"; var_dump($x == $y); echo "<br>"; var_dump($x === $y); echo "<br>"; var_dump($x != $y); echo "<br>"; var_dump($x <> $y); echo "<br>"; var_dump($x !== $y); echo '<p>PHP 基础教程 - 简单教程(www.twle.cn)</p>';
运行结果: