<?php
$a=3;$b=4;
if($a||$b=5){ //||或和|的区别 echo $b; echo $a; }
结果:43
<?php$a=3;$b=4; if($a|$b=5){ //||或和|的区别 echo $b;[......]
<?php
$a=3;$b=4;
if($a||$b=5){ //||或和|的区别 echo $b; echo $a; }
结果:43
<?php$a=3;$b=4; if($a|$b=5){ //||或和|的区别 echo $b;[......]