cvs: php-src(PHP_5_1) /ext/oci8/tests bind_empty.phpt
| From: | Antony Dovgal | Date: | Tue, 07 Feb 2006 14:11:31 +0000 |
| Subject: | cvs: php-src(PHP_5_1) /ext/oci8/tests bind_empty.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-36817@lists.php.net to get a copy of this message | ||
tony2001 Tue Feb 7 14:11:31 2006 UTC
Modified files: (Branch: PHP_5_1)
/php-src/ext/oci8/tests bind_empty.phpt
Log:
don't use deprecated call-time by reference
http://cvs.php.net/viewcvs.cgi/php-src/ext/oci8/tests/bind_empty.phpt?r1=1.1.2.3&r2=1.1.2.4&diff_format=u
Index: php-src/ext/oci8/tests/bind_empty.phpt
diff -u php-src/ext/oci8/tests/bind_empty.phpt:1.1.2.3
php-src/ext/oci8/tests/bind_empty.phpt:1.1.2.4
--- php-src/ext/oci8/tests/bind_empty.phpt:1.1.2.3 Tue Dec 6 19:28:24 2005
+++ php-src/ext/oci8/tests/bind_empty.phpt Tue Feb 7 14:11:31 2006
@@ -18,13 +18,13 @@
$name = null;
$stmt = oci_parse($c, "UPDATE bind_test SET name=:name");
-oci_bind_by_name($stmt, ":name", &$name);
+oci_bind_by_name($stmt, ":name", $name);
$res = oci_execute($stmt);
$name = "";
$stmt = oci_parse($c, "UPDATE bind_test SET name=:name");
-oci_bind_by_name($stmt, ":name", &$name);
+oci_bind_by_name($stmt, ":name", $name);
$res = oci_execute($stmt);