Learn PHP: Ternary operator

preview_player
Показать описание

Official site

Twitter
Рекомендации по теме
Комментарии
Автор

I love your tutorials for being so clear, short and simple, but very, very effective. Good job!

TudorTulok
Автор

Great little tut, clear, concise and short, nice.

Gelly
Автор

Thanks this turned out to be way easier than I thought.

bartreijmer
Автор

Thanks for this. Been relearning php and your tutorial's been a great help!

chipp
Автор

Great it makes it simple but for my own opinion if you're trying to work with different developer with the same project it will be hard to collaborate with them if they are unaware of this ternery operator so better to stick with the basic.

ronniej
Автор

Thanks for the tutorial. Its very clear.

md.nasirshikder
Автор

Why do you delete the old code? You should comment it out, and then add the revised code under, but great job anyways ;)

brunovincent
Автор

Its called a ternary operator not ternery. With an "a" that is, not an "e".

phixphixation