Gold Vision Communications / USA
 GOLDVISION.COM
Serving the Multimedia Community since 1989.
English Site | German Site 

 Web Hosting

 Virtual Dedicated Servers

 Chequeo de dominio

 Haga su pedido

 Estado del pedido

 Support

 Contáctenos

 Download

 Network

 Network Status

 Webdesign / Templates

 Efectuar pago

 Terms & Conditions

 Imprimir

 Notas Legales

 Declaración de Privacidad
  PHP / Logische Operatoren
Logische Operatoren

Logische Operatoren

Tabelle 10-6. Logische Operatoren

BeispielNameErgebnis
$a and $bUndTRUE wenn sowohl $a als auch $b TRUE ist.
$a or $bOderTRUE wenn $a oder $b TRUE ist.
$a xor $bEntweder OderTRUE wenn entweder $a oder $b TRUE ist, aber nicht beide.
! $aNichtTRUE wenn $a nicht TRUE ist.
$a && $bUndTRUE wenn sowohl $a als auch $b TRUE ist.
$a || $bOderTRUE wenn $a oder $b TRUE ist.

Der Grund dafür, dass es je zwei unterschiedliche Operatoren für die "Und"- und die "Oder"-Verknüpfung gibt ist der, dass die beiden Operatoren jeweils Rangfolgen haben. (siehe auch Operator-Rangfolge.)


© 1998-2007 Gold Vision Communications All Rights Reserved.