Categories

Updated: 07/28/2003

PHP''s Ternary Operator and the Switch() statement

This article is designed to introduce new PHP programmers who have limited experience in other programming languages to the power of the ternary operator and the switch statement. Supported in many C based languages, these constructs are often confusing for the new programmer. This short article should provide some clarity for the PHP programmer wanting to use them, or needing to read code where they are used.
©2003-2019 jCay.com