ID: 39732 User updated by: fred dot cohen at iridium dot com -Summary: oci_bind_array_by_name doesn't work Reported By: fred dot cohen at iridium dot com -Status: Feedback +Status: Open Bug Type: OCI8 related Operating System: Solaris 10 PHP Version: 5.2.0 New Comment:
Same problem is showing up using php5.2-200612081330 snapshot. Previous Comments: ------------------------------------------------------------------------ [2006-12-04 17:02:32] [EMAIL PROTECTED] 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. ------------------------------------------------------------------------ [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