- Fixed test

This commit is contained in:
Felipe Pena 2010-12-04 15:48:45 +00:00
parent 0f53b4e515
commit 0aa36e2d97

View File

@ -17,7 +17,7 @@ echo "ATTR_CLIENT_VERSION: ";
$cv = $dbh->getAttribute(PDO::ATTR_CLIENT_VERSION);
var_dump($cv);
$s = split("\.", $cv);
$s = explode(".", $cv);
if ($s[0] >= 10 && count($s) > 1 && $s[1] >= 2) {
if (count($s) != 5) {
echo "Wrong number of values in array\nVersion was: ";