ID: 47450 Updated by: j...@php.net Reported By: stefan at konink dot de -Status: Open +Status: Feedback -Bug Type: *Database Functions +Bug Type: ODBC related Operating System: Linux PHP Version: 5.3.0beta1 New Comment:
Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2009-02-19 15:35:33] stefan at konink dot de Description: ------------ http://bugs.php.net/6275 Basically that bug still exists. What goes wrong is the following: The ODBC specifications are very explicit about the ParameterType, if it is not present aka 0, it will bug. Reproduce code: --------------- <?php $a = 1; $b = 2; $c = 3; $stmt = odbc_prepare($conn, 'CALL myproc(?,?,?)'); $success = odbc_execute($stmt, array($a, $b, $c)); ?> Expected result: ---------------- The expected is an integer/numeric assignment at binding. Actual result: -------------- 0 is assigned, thus fails on any database that is explicit about this. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=47450&edit=1