tutorialzone.de - Tutorials und Anleitungen - Die umfassendste deutsche Quelle
tutorialzone.de - Tutorials und Anleitungen - Die umfassendste deutsche Quelle

Programmieren » PHP » The Ternary operator in PHP (ID 26162)

Sprache: Englisch
Skill: |||
Rating: |||||
Beschreibung: The Ternary comparison operator is an alternative to the if-else statement, it's shorter and could be used to easily do a significant difference depending on a condition without the need of a if statement. The Ternary operator is made for two different actions, one if the condition is true, the other one if it's false but with nested Ternary operators we can use it like an if-elseif.else statement(more to that later).

tutorial anschauen

Zurück - Tutorial bewerten - Skill bewerten - Tutorial übersetzen - Link defekt!?