colinmollenhour/credis — pull request #28 by baranga (2014-09-01 09:16:43+00:00)
Title: encapsulate extension error reading with version check to fix issue #27

This is a solution for issue #27. It checks for the version of the phpredis module and only clears last error if version is greater or equal than 2.2.3. This should avoid calling non existing methods on older versions.