Any continuous effects with a "for as long as" duration ignore phased-out objects. If ignoring those objects causes the effect's conditions to no longer be met, the duration will expire. For example, phasing out Mind Flayer will cause the duration of its continuous effect ("for as long as you control Mind Flayer") to expire.