nested ternary operators should be wrapped into brackets, otherwise it can lead to unpredicable results.
so better `$found?($ofs?:FALSE):FALSE;`