Bug #71148 [Com]: Bind reference overwritten on php7

From: Date: Thu, 07 Jan 2016 11:29:29 +0000
Subject: Bug #71148 [Com]: Bind reference overwritten on php7
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-198486@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=71148&edit=1

 ID:                 71148
 Comment by:         deepdiver at owncloud dot com
 Reported by:        arcostasi at gmail dot com
 Summary:            Bind reference overwritten on php7
 Status:             Assigned
 Type:               Bug
 Package:            OCI8 related
 Operating System:   Linux
 PHP Version:        7.0.0
 Assigned To:        sixd
 Block user comment: N
 Private report:     N

 New Comment:

duplicate of https://bugs.php.net/bug.php?id=70302


Previous Comments:
------------------------------------------------------------------------
[2015-12-17 11:15:51] arcostasi at gmail dot com

Description:
------------
Simple insert on oracle database using Doctrine with OCI8 driver on PHP 7.

All the columns get overwritten by value of the last call to OCI8Statement->bindValue.

Table creation script can be found at db/ of the test script repository

The code on public/only_oci8.php reproduces the problem without Doctrine.

Test script:
---------------
https://github.com/pdgcvs/DoctrineInsertPHP7

https://github.com/pdgcvs/DoctrineInsertPHP7/blob/master/public/only_oci8.php

https://github.com/pdgcvs/DoctrineInsertPHP7/blob/master/public/only_oci8_2.php






------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=71148&edit=1


Thread (6 messages)

« previous php.bugs (#198486) next »