Patch pdo_oci_attr_client.phpt.patch for PDO OCI Bug #52955
Patch version 2010-09-29 20:57 UTC
Return to Bug #52955 |
Download this patch
Patch Revisions:
Developer: kontakt@beberlei.de
Index: pdo_oci/tests/pdo_oci_attr_client.phpt
===================================================================
--- pdo_oci/tests/pdo_oci_attr_client.phpt (revision 303879)
+++ pdo_oci/tests/pdo_oci_attr_client.phpt (working copy)
@@ -17,7 +17,7 @@
$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: ";
|