Hi All,
I'm just exploring the issues raised by scrutinizer. It raise issues like, variable is not initialized. Have a look at issue [0], complaining on code segment [1].
Personally I like to initialize variables, before using it, even a value is assigning at some point of the execution path. In this case we can initialized it like $x=array('foo');
As I remember Marc mentioned different thought on this kind of situation (at the LinuxTag booth). You may have good thoughts we should know.