Why is my ternary expression not functioning?
This is damaged due to the fact that 'incorrect' as a string will certainly review to real as a boolean.
Nonetheless, this is an unnecessary ternary expression, due to the fact that the resulting values are straightforward real and also incorrect. This would certainly be equal :
$canMerge = ($condition1 && $condition2);