#39732 [Opn->Fbk]: oci_bind_array_by_name doesn't work
| From: | tony2001@php.net | Date: | Mon, 04 Dec 2006 17:02:32 +0000 |
| Subject: | #39732 [Opn->Fbk]: oci_bind_array_by_name doesn't work | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-105892@lists.php.net to get a copy of this message | ||
ID: 39732
Updated by: tony2001@php.net
Reported By: fred dot cohen at iridium dot com
-Status: Open
+Status: Feedback
Bug Type: OCI8 related
Operating System: Solaris 10
PHP Version: 5.2.0
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
Works just fine here, both on Solaris 8 and Linux.
Previous Comments:
------------------------------------------------------------------------
[2006-12-04 16:42:51] fred dot cohen at iridium dot com
Description:
------------
Attempting to execute the example code for oci_band_array_by_name
generates PHP Warning: oci_execute(): OCI_NO_DATA in /.../test.php on
line 49
No data is inserted into the tables and no values are updated in the
passed array.
oci8 Version 1.2.2, $Revision: 1.269.2.16.2.25 $
Oracle Version 10.1
Compile flag: --with-oci8=/.../10.2.0/client_1
Our oracle server version in 9.2.0.7
Reproduce code:
---------------
http://us2.php.net/oci_bind_array_by_name
example code.
Actual result:
--------------
PHP Warning: oci_execute(): OCI_NO_DATA in /.../test.php on line 49
array(5) {
[0]=>
string(3) "one"
[1]=>
string(3) "two"
[2]=>
string(5) "three"
[3]=>
string(4) "four"
[4]=>
string(4) "five"
}
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39732&edit=1