Lines Matching refs:result
7 $result = true && throw new Exception("true && throw");
8 var_dump($result);
14 $result = false && throw new Exception("false && throw");
15 var_dump($result);
21 $result = true and throw new Exception("true and throw");
22 var_dump($result);
28 $result = false and throw new Exception("false and throw");
29 var_dump($result);
35 $result = true || throw new Exception("true || throw");
36 var_dump($result);
42 $result = false || throw new Exception("false || throw");
43 var_dump($result);
49 $result = true or throw new Exception("true or throw");
50 var_dump($result);
56 $result = false or throw new Exception("false or throw");
57 var_dump($result);
63 $result = null ?? throw new Exception("null ?? throw");
64 var_dump($result);
70 $result = "foo" ?? throw new Exception('"foo" ?? throw');
71 var_dump($result);
77 $result = null ?: throw new Exception("null ?: throw");
78 var_dump($result);
84 $result = "foo" ?: throw new Exception('"foo" ?: throw');
85 var_dump($result);
98 $result = "bar";
100 $result = throw new Exception();
102 var_dump($result);
114 $result = true ? true : throw new Exception("true ? true : throw");
115 var_dump($result);
121 $result = false ? true : throw new Exception("false ? true : throw");
122 var_dump($result);