#39271 [NEW]: oci_bind_array_by_name produces incorrect data

From: Date: Thu, 26 Oct 2006 20:46:27 +0000
Subject: #39271 [NEW]: oci_bind_array_by_name produces incorrect data
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-104024@lists.php.net to get a copy of this message
From: quelch at udel dot edu Operating system: Redhat EL 3 PHP version: 5.1.6 PHP Bug Type: OCI8 related Bug description: oci_bind_array_by_name produces incorrect data Description: ------------ Utilizing the oci_bind_array_by_name function in Oracle 10.2.0.1 results in incorrect data being returned for NUMBER array data. This error also occurs with the php5.2-200610261830 snapshot. Configure line: ./configure -with-oci8 --with-gd --enable-gd-imgstrttf --enable-gd-native-ttf --with-ttf --with-freetype-dir --with-apxs=/www/bin/apxs --with-png --with-zlib --with-jpeg --enable-xmlwriter --without-pear My database is set up with native code compile option for PL/SQL in case that makes a difference. Reproduce code: --------------- The code used can be found here: http://www-dev.quelch.org/ws/test.html Expected result: ---------------- Array ( [0] => 4 [1] => 3 [2] => 2 [3] => 1 [4] => 0 ) Actual result: -------------- Array ( [0] => 1473 [1] => 1217 [2] => 961 [3] => 705 [4] => 128 ) -- Edit bug report at http://bugs.php.net/?id=39271&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39271&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39271&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39271&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=39271&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=39271&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=39271&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=39271&r=needscript Try newer version: http://bugs.php.net/fix.php?id=39271&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=39271&r=support Expected behavior: http://bugs.php.net/fix.php?id=39271&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=39271&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=39271&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=39271&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39271&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=39271&r=dst IIS Stability: http://bugs.php.net/fix.php?id=39271&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=39271&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=39271&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=39271&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=39271&r=mysqlcfg

« previous php.bugs (#104024) next »