|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36643 error when i call execute method with param
Submitted: 2006-03-07 12:52 UTC Modified: 2006-03-07 12:59 UTC
From: alien at mosfasad dot ru Assigned:
Status: Not a bug Package: PDO related
PHP Version: 5.1.2 OS: WIN2000
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: alien at mosfasad dot ru
New email:
PHP Version: OS:


 [2006-03-07 12:52 UTC] alien at mosfasad dot ru
when i insert or update table with bind variable, i get bad result =(.
All values of bind variables change to last bind variable =(
If i use method bindParam apache crush =(
i take last cvs version of php, but not happened  =(
Windows 2000 SP4 (5.00.2195)
Apache/2.0.52 (Win32) PHP/5.1.3-dev
PDO drivers       sqlite2, sqlite, oci
OCI8              $Revision: $
php_pdo_oci8.dll - Oracle (OCI) driver for PDO(

Reproduce code:
$oPdo = new PDO('oci:dbname=dinv','I3','XXXXXX');
$oStat = $oPdo->prepare("INSERT INTO REGISTRY (name, value) VALUES (?, ?)");

Expected result:
Table REGISTRY has new row with values:
--  | name  | value
1   |	test2 | test2

Actual result:
Table REGISTRY has new row with values:
--  | name  | value
1   |	test1 | test2


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-03-07 12:59 UTC]
Duplicate of bug #36318.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Jul 18 04:01:28 2024 UTC