Better way of getting MySQL ver in PHP 5.5+

@lukecarbis Please review when you have some time.  Thanks!