Deprecated: Assigning the return value of new by reference is deprecated in