PHP strict fixes