Lines Matching refs:throw
2 Test throw with various expressions
12 throw $this->createNotFoundException();
20 throw static::staticCreateNotFoundException();
37 throw true ? new Exception('Ternary true 1') : new Exception('Ternary true 2');
43 throw false ? new Exception('Ternary false 1') : new Exception('Ternary false 2');
51 throw $exception1 ?? $exception2;
59 throw $exception1 ?? $exception2;
65 throw $exception = new Exception('Assignment');
72 throw $exception ??= new Exception('Coalesce assignment null');
79 throw $exception ??= new Exception('Coalesce assignment non-null 2');
85 throw $condition1 && $condition2