Fix uninit var warnings in PHP