Hey so yeah i help people around on here but i need help now.. Drawing a blank. What is this called? ex: ($var == null ? SOMETHING : default);
Ive actually heard of shorthand syntax, i forgot the name. However it can have both names Ones more of a common nickname? Anywho, Thanks guys
Ternary operator is the technical name for what you've described. Shorthand syntax could apply to anything. For instance, shorthand for $num = $num + 1 would be $num++ or $num += 1.
Yeah, i saw that too after more research on trying to do some pretty fancy ternary operations. lol. Thanks though. Also saw that shorthand could be <?=$var?>