php version detection: unit tests