Bumped to 2.5
Added version check so example won't fail on PHP < 5.4