]> granicus.if.org Git - php/commitdiff
- Fixed test
authorFelipe Pena <felipe@php.net>
Sat, 4 Dec 2010 15:48:45 +0000 (15:48 +0000)
committerFelipe Pena <felipe@php.net>
Sat, 4 Dec 2010 15:48:45 +0000 (15:48 +0000)
ext/pdo_oci/tests/pdo_oci_attr_client.phpt

index b21f1b77f1c39d7ec24bc4f792fc31434aa782d5..372ccec8e12e62cbbba156d22d1cb0021e2bfe14 100644 (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: ";