[Solved] Which is the most efficient way to work around the first one or the next one?


All depend on the situation in hand. Both are valid but for multiple scenarios this one is quicker and much more efficient

$a = $b == "" ? "default" : $b;

solved Which is the most efficient way to work around the first one or the next one?