In Programming, shorthand is writing same piece of code in shorter way. Shorthand comparisons in PHP comprise of minimal use of code for better reading & usability.
In this tutorial, we’ll learn which shorthand syntax PHP has added and will understand usability of it with practical approach.
First, we’ll understand the most basic and most important condition which we regularly use in day to day coding. The if statement.
Top comments (0)