What is this? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: What is this? (/showthread.php?tid=49493) |
What is this? - El Forum - 02-21-2012 [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. What is this? - El Forum - 02-21-2012 [eluser]scottwire[/eluser] Its called a ternary operator What is this? - El Forum - 02-21-2012 [eluser]solid9[/eluser] okay thanks. |