So I have the following question: Why doesn't PHP allow class variable to be instantiated as objects, this is probably the wrong question so I'll show some code to just clarify what I mean.
In java you can do this
private ServerSocket serverSocket;
But in PHP if you try to do something similar like the following
private $var = \MY_CLASS
It will throw a syntax error and you will have to instantiate it through the constructor. I mean in java you also need to instantiate the variables through the constructor..