Old php version \!empty fix