Welcome Guest, Not a member yet? Register   Sign In
What is this?
#1

[eluser]solid9[/eluser]
Help me recall this expression condition?

$this->store_salt ? $this->salt() : FALSE;

Sorry I forgot this is a short version of if else?
What is this logic called?
Please help me recall the name.

Thanks in advanced.
#2

[eluser]scottwire[/eluser]
Its called a ternary operator
#3

[eluser]solid9[/eluser]
okay thanks.




Theme © iAndrew 2016 - Forum software by © MyBB