المدة الزمنية 5500

The PHP Ternary Operator: Make Your Short if Statements More Concise and Easier to Read

بواسطة Dave Hollingworth
3 066 مشاهدة
0
135
تم نشره في 2022/09/20

If you have a short if / else structure, you might be able to use the ternary operator to make the code more concise and easier to read. The ternary operator in PHP is used to shorten if / else statements. Please consider supporting my channel: ☕ https://ko-fi.com/davehollingworth 00:00 the ternary operator 00:25 the Elvis operator #php #shorts #shorthand

الفئة

عرض المزيد

تعليقات - 3