echo $cmd=(45>13 && 211<100 ?"AMBIORIX":"RODRIGUEZ");
as only 1 of the condition is true will return RODRIGUEZ
echo $cmd=(45>13 || 211<100 ?"AMBIORIX":"RODRIGUEZ");
in tis case will return AMBIORIX as at least 1 is true
----------------------------------------
$argv=[1,3];
echo $var=(count($argv)!=2)?exit():1;
No hay comentarios:
Publicar un comentario