[php] removed PHP strict notice violations