Php – why Coverity scan tells the code " $data ?? [] " is logically dead code?
Below are the comments given by Coverity scan. Here there is a chance that $data become undefined, but the code "$data ?? []" will solve that issue. If $data is null output of this code will be []. I dont…