add excludes to some php versions about constants back port