throw new \RuntimeException('In arrow function'); $value = $a ? $a : throw new \InvalidArgumentException('In ternary');