add methods to verify php 5.5 ::class constant