php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #52955
Patch pdo_oci_attr_client.phpt.patch revision 2010-09-29 20:57 UTC by kontakt at beberlei dot de

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: ";
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 04 03:01:30 2024 UTC