>>595

$arg = 5;
$val = !empty($arg) ? $arg : exit('error');
結果 5

これと同じ結果になるように or die を使う例を教えてください。
というか最初の質問とずれてきていますが。。