DaveC426913
Programmer
What's this called (it *is* a legit PHP construct, right?):
true?doA():doB();
It is the equivalent of:
if (true){ doA; }
else {do B; }
I just want to make sure that the FIRST statment is executed if true, the SECOND if false. Right?
true?doA():doB();
It is the equivalent of:
if (true){ doA; }
else {do B; }
I just want to make sure that the FIRST statment is executed if true, the SECOND if false. Right?