improved php syntax