Lines Matching refs:null
2 Constant expressions with null coalescing operator ??
9 const D_1 = null ?? A[1]{'undefined'}['index'] ?? 1;
10 const D_2 = null ?? A['undefined']{'index'} ?? 2;
11 const D_3 = null ?? A[1]{0}{2} ?? 3; // 2 deprecation notices
14 const T_1 = null ?? A[1]['undefined']['index'] ?? 1;
15 const T_2 = null ?? A['undefined']['index'] ?? 2;
16 const T_3 = null ?? A[1][0][2] ?? 3;
18 const T_5 = null ?? __LINE__;
33 var_dump((function(){ static $var = null ?? A[1]['undefined']['index'] ?? 1; return $var; })());
34 var_dump((function(){ static $var = null ?? A['undefined']['index'] ?? 2; return $var; })());
35 var_dump((function(){ static $var = null ?? A[1][0][2] ?? 3; return $var; })());
38 var_dump((new class { public $var = null ?? A[1]['undefined']['index'] ?? 1; })->var);
39 var_dump((new class { public $var = null ?? A['undefined']['index'] ?? 2; })->var);
40 var_dump((new class { public $var = null ?? A[1][0][2] ?? 3; })->var);