compatible php 5.5 strict standards.