dont perform explicit check for PHP package; removing variable mutating and reassignment