From: Operating system: linux 2.6.21.7-2.fc8xen PHP version: 5.3.1 Package: OCI8 related Bug Type: Bug Bug description:SQLT_INT or OCI_B_INT not binding correctly
Description: ------------ When trying to bind the return value of a function as SQLT_INT or OCI_B_INT, the value that is bound upon return shows as int(-4294964414), where the expected is 2882, in our case. The oracle function returns NUMBER data type. Changing the bind type to SQLT_CHAR resolves the problem. This worked in php 5.2.11 -- Edit bug report at http://bugs.php.net/bug.php?id=51196&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=51196&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=51196&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=51196&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=51196&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=51196&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=51196&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=51196&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=51196&r=needscript Try newer version: http://bugs.php.net/fix.php?id=51196&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=51196&r=support Expected behavior: http://bugs.php.net/fix.php?id=51196&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=51196&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=51196&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=51196&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=51196&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=51196&r=dst IIS Stability: http://bugs.php.net/fix.php?id=51196&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=51196&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=51196&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=51196&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=51196&r=mysqlcfg