ID: 37581 User updated by: jlevy at imerica dot com Reported By: jlevy at imerica dot com Status: Open Bug Type: Oracle related Operating System: Redhat, Debian PHP Version: 5.1.4 New Comment:
Another developer in my office verified this bug is also present in PHP 5.1.4 Thank you. Previous Comments: ------------------------------------------------------------------------ [2006-05-24 17:49:50] jlevy at imerica dot com Apologies for bad pastebin URL. Strip the excess http:// and it should load properly. ------------------------------------------------------------------------ [2006-05-24 17:47:30] jlevy at imerica dot com Description: ------------ Please note that this relates to 5.1.2, not 5.1.4. Configuration: Box #1 - PHP 5.1.2 compiled against oracle instant client 10.x, Debian Box #2 - PHP 5.1.2 compiled against oracle full libs, Redhat Calling oci_bind_array_by_name will append extraneous members to input array if using SQLT_AFC or SQLT_AVC (other types untested due to lack of due dilligence) Sample script to reproduce bug at pastebin.com, see URL below. Reproduce code: --------------- http://http://pastebin.com/735456 Expected result: ---------------- Array ( [0] => LH [1] => JC [2] => PJ ) Array ( [0] => LH [1] => JC [2] => PJ ) Array ( [0] => LH [1] => JC [2] => PJ ) Actual result: -------------- Array ( [0] => LH [1] => JC [2] => PJ ) Array ( [0] => LHJCPJ [1] => JCPJ [2] => PJ ) Array ( [0] => LHJCPJ [1] => JCPJ [2] => PJ [3] => JCPJ [4] => PJ ) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37581&edit=1