\[quote\] Possible Duplicate:
What is the PHP ? : operator called and what does it do? \[/quote\]I saw this today in some PHP code.\[code\]$items = $items ?: $this->_handle->result('next', $this->_result, $this);\[/code\]What is the ?: doing? Is it a Ternary operator without a return true value? A PHP 5.3 thing?I tried some test code but got syntax errors.
What is the PHP ? : operator called and what does it do? \[/quote\]I saw this today in some PHP code.\[code\]$items = $items ?: $this->_handle->result('next', $this->_result, $this);\[/code\]What is the ?: doing? Is it a Ternary operator without a return true value? A PHP 5.3 thing?I tried some test code but got syntax errors.